]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
libcephfs: build without "using namespace std"
authorKefu Chai <kchai@redhat.com>
Wed, 11 Aug 2021 04:00:00 +0000 (12:00 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Aug 2021 04:23:37 +0000 (12:23 +0800)
commit15467a543343d4ebce1ceaba3e1e54745dbd9c27
tree63c0082523e9e58bf0f9c2cc819a4d2ac2a71e12
parente096e8c00d84fab0967da46661677fba3dcf0700
libcephfs: 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/include/cephfs/metrics/Types.h
src/libcephfs.cc