]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cls: build without "using namespace std"
authorKefu Chai <kchai@redhat.com>
Wed, 11 Aug 2021 03:54:56 +0000 (11:54 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Aug 2021 04:23:37 +0000 (12:23 +0800)
commit9bc2e9d253fc89d39d2ce520e6f95109b78983a4
treed44eae4f2e39978ae5e603d96a91d774eb3525e4
parent390b47b3de549e6be4a1a1b2cf66536cb5bbe141
cls: 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>
14 files changed:
src/cls/2pc_queue/cls_2pc_queue_client.cc
src/cls/2pc_queue/cls_2pc_queue_client.h
src/cls/cas/cls_cas_internal.cc
src/cls/cas/cls_cas_internal.h
src/cls/fifo/cls_fifo_ops.h
src/cls/fifo/cls_fifo_types.h
src/cls/lock/cls_lock_ops.cc
src/cls/lua/cls_lua.cc
src/cls/queue/cls_queue_client.cc
src/cls/queue/cls_queue_client.h
src/cls/queue/cls_queue_src.cc
src/cls/rgw/cls_rgw_client.h
src/cls/rgw/cls_rgw_ops.h
src/cls/timeindex/cls_timeindex_types.cc