]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/librbd: build without "using namespace std"
authorKefu Chai <kchai@redhat.com>
Wed, 11 Aug 2021 03:45:41 +0000 (11:45 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Aug 2021 04:21:39 +0000 (12:21 +0800)
commitebaabe5647825f4d490b26abbc88ca2cbfadfef2
tree1b1c4d805a84b703c66eafa86e3beab9e90f7819
parente0649263829d187ea4026767a9eaeda4489aae6f
test/librbd: build without "using namespace std"

* add "std::" prefix in headers
* add "using" declarations in .cc files.

so we don't rely on "using namespace std" in one or more included
headers.

Signed-off-by: Kefu Chai <kchai@redhat.com>
14 files changed:
src/test/librbd/cache/pwl/test_WriteLogMap.cc
src/test/librbd/deep_copy/test_mock_ImageCopyRequest.cc
src/test/librbd/journal/test_Entries.cc
src/test/librbd/mirror/snapshot/test_mock_CreatePrimaryRequest.cc
src/test/librbd/mock/MockImageCtx.h
src/test/librbd/test_DeepCopy.cc
src/test/librbd/test_Groups.cc
src/test/librbd/test_ImageWatcher.cc
src/test/librbd/test_Migration.cc
src/test/librbd/test_ObjectMap.cc
src/test/librbd/test_internal.cc
src/test/librbd/test_mirroring.cc
src/test/librbd/test_mock_ManagedLock.cc
src/test/librbd/test_mock_Watcher.cc