]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg: build without "using namespace std"
authorKefu Chai <kchai@redhat.com>
Wed, 11 Aug 2021 04:01:08 +0000 (12:01 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Aug 2021 04:23:38 +0000 (12:23 +0800)
commit85244605d2a9ed51f2660bf6e4017906e64e2a04
treea9ea358de9649d18b12bad42c9ff244b3e9f4628
parent423c7d862f5a4d9edd263f7327feb54985ce3790
msg: 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/msg/compressor_registry.cc
src/msg/compressor_registry.h