]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
blk: build without "using namespace std"
authorKefu Chai <kchai@redhat.com>
Wed, 11 Aug 2021 03:58:38 +0000 (11:58 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Aug 2021 04:23:37 +0000 (12:23 +0800)
commite096e8c00d84fab0967da46661677fba3dcf0700
tree9cd3c84aa8aa7c83b862a479578f637b2f804ac9
parentb3d7cf423d433f7140145f8f95604f0984bd65e6
blk: 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/blk/kernel/KernelDevice.cc
src/blk/kernel/io_uring.cc
src/blk/spdk/NVMEDevice.cc
src/blk/spdk/NVMEDevice.h