]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: build without "using namespace std"
authorKefu Chai <kchai@redhat.com>
Wed, 11 Aug 2021 03:56:21 +0000 (11:56 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Aug 2021 04:23:37 +0000 (12:23 +0800)
commit61219632bd3ee9f97556b396c8755abe666cb14d
tree454b34c23c6e889b2cdb7dcff5e93b2d40ec91bf
parentb668f5c78726c6994ddcaf1cf328e17f8bb15298
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>
src/common/Continuation.h
src/common/Journald.cc
src/common/LogEntry.h
src/common/MemoryModel.cc
src/common/cmdparse.cc
src/common/obj_bencher.cc
src/common/obj_bencher.h
src/common/openssl_opts_handler.cc
src/common/strescape.h
src/common/win32/dns_resolve.cc
src/global/global_init.cc