]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crush: build without "using namespace std"
authorKefu Chai <kchai@redhat.com>
Wed, 11 Aug 2021 04:02:57 +0000 (12:02 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Aug 2021 04:23:38 +0000 (12:23 +0800)
commit573fd9804ced51fd825e745857c92b8f80ddcaa3
tree854ce3fc846a115f9a91b0082dfd8ea846eead2f
parent19f81c6c574dd2347722a40877218562fa1840a8
crush: 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/crush/CrushCompiler.cc