]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librados: build without "using namespace std"
authorKefu Chai <kchai@redhat.com>
Wed, 11 Aug 2021 03:54:10 +0000 (11:54 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Aug 2021 04:23:37 +0000 (12:23 +0800)
commit390b47b3de549e6be4a1a1b2cf66536cb5bbe141
tree4437a11af360b32a34a54e691342cf037f08584c
parent8801f97219b911eb1c6f13842b2079d76cac7b60
librados: 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/librados/IoCtxImpl.cc
src/librados/IoCtxImpl.h
src/librados/RadosClient.cc
src/librados/RadosClient.h
src/librados/librados_c.cc
src/librados/librados_cxx.cc
src/librados/snap_set_diff.cc