]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tools/rbd_nbd: build without "using namespace std"
authorKefu Chai <kchai@redhat.com>
Wed, 11 Aug 2021 10:42:52 +0000 (18:42 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Aug 2021 04:23:39 +0000 (12:23 +0800)
commitc2aa30306c1587bac9c2ebe29b9b5b7beed432ea
tree509fb165750d0339d578c2bd8bb81535e41a8f3d
parent0b35ce68e42e5206a01669660835c36de6d6e0e8
tools/rbd_nbd: 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/tools/rbd_nbd/rbd-nbd.cc