]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: build without "using namespace std"
authorKefu Chai <kchai@redhat.com>
Wed, 11 Aug 2021 03:47:21 +0000 (11:47 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Aug 2021 04:21:39 +0000 (12:21 +0800)
commit8a283f9164747bc2dda2b908b2d97228e1eab4eb
treec68b229694351cc668b7308497a9ae2bf48c2717
parent13302a16aa32ba63bcceb2e2994f942cc38bab76
client: 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/client/Client.cc
src/client/Client.h
src/client/ClientSnapRealm.cc
src/client/ClientSnapRealm.h
src/client/Dentry.h
src/client/Dir.h
src/client/Inode.cc
src/client/Inode.h
src/client/MetaRequest.h
src/client/MetaSession.h
src/client/ObjecterWriteback.h