]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
include/object.h: do not "using namespace std" 42742/head
authorKefu Chai <kchai@redhat.com>
Mon, 9 Aug 2021 07:54:22 +0000 (15:54 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Aug 2021 08:56:55 +0000 (16:56 +0800)
so the identifiers in "std" namespace do not conflict the ones in C code
or the idenfitiers in other namespaces.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/include/object.h

index 96951e74de79b881028348d86c05b72d747d15ef..e7cd853b00f39d8a9e27571be86789aa4c762583 100644 (file)
@@ -31,8 +31,6 @@
 #include "ceph_hash.h"
 #include "cmp.h"
 
-using namespace std;
-
 struct object_t {
   std::string name;