]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: build without "using namespace std"
authorKefu Chai <kchai@redhat.com>
Wed, 11 Aug 2021 03:53:25 +0000 (11:53 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Aug 2021 04:23:36 +0000 (12:23 +0800)
commit504b6fca9b4d4a577dcca8e04960d9e65feedee1
treecf0d7ee30446e1a3aafc635a7650d61cb1491b25
parent1d1e173876db1067d001e688b8eff0375908226f
osd: 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>
19 files changed:
src/osd/ECBackend.cc
src/osd/ECTransaction.cc
src/osd/OSD.h
src/osd/PG.cc
src/osd/PG.h
src/osd/PGBackend.cc
src/osd/PeeringState.cc
src/osd/PeeringState.h
src/osd/PrimaryLogPG.cc
src/osd/PrimaryLogPG.h
src/osd/PrimaryLogScrub.cc
src/osd/ReplicatedBackend.cc
src/osd/Watch.cc
src/osd/osd_types.cc
src/osd/osd_types.h
src/osd/pg_scrubber.cc
src/osd/pg_scrubber.h
src/osd/recovery_types.cc
src/osd/scrubber_common.h