]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
libcephsqlite: build without "using namespace std"
authorKefu Chai <kchai@redhat.com>
Wed, 11 Aug 2021 03:57:31 +0000 (11:57 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Aug 2021 04:23:37 +0000 (12:23 +0800)
commitb3d7cf423d433f7140145f8f95604f0984bd65e6
tree424542a10e06cff09c0c49b5871dc7a624646eca
parent61219632bd3ee9f97556b396c8755abe666cb14d
libcephsqlite: 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/SimpleRADOSStriper.cc
src/SimpleRADOSStriper.h
src/blk/zoned/HMSMRDevice.cc
src/blk/zoned/HMSMRDevice.h
src/libcephsqlite.cc
src/test/libcephsqlite/main.cc