]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/tools: build without "using namespace std"
authorKefu Chai <kchai@redhat.com>
Wed, 11 Aug 2021 10:24:34 +0000 (18:24 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Aug 2021 04:23:39 +0000 (12:23 +0800)
commit5fbac6d853529658242f08396b2297bc4893c6a0
treed425af89601e7c0e0f84250c487189056a769c7d
parentf6b157e946b7cdfc32481707fb655fccd19753a6
crimson/tools: 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/crimson/tools/store_nbd/store-nbd.cc
src/tools/crimson/perf_async_msgr.cc
src/tools/crimson/perf_crimson_msgr.cc
src/tools/crimson/perf_staged_fltree.cc