]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/common: build without "using namespace std"
authorKefu Chai <kchai@redhat.com>
Wed, 11 Aug 2021 03:51:25 +0000 (11:51 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Aug 2021 04:23:36 +0000 (12:23 +0800)
commitfdc63bcea520c45440fc8693fd4d7b7719a5913d
treebd235bda637b05e6d1674a63042f1c2ed2096b99
parentd7646874dbb40dc63044728121c548edbbe72efb
test/common: 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>
13 files changed:
src/test/common/Readahead.cc
src/test/common/Throttle.cc
src/test/common/dns_resolve.cc
src/test/common/get_command_descriptions.cc
src/test/common/test_cdc.cc
src/test/common/test_config.cc
src/test/common/test_context.cc
src/test/common/test_crc32c.cc
src/test/common/test_option.cc
src/test/common/test_shared_cache.cc
src/test/common/test_sharedptr_registry.cc
src/test/common/test_time.cc
src/test/common/test_util.cc