From: Kefu Chai Date: Mon, 9 Aug 2021 07:54:22 +0000 (+0800) Subject: include/object.h: do not "using namespace std" X-Git-Tag: v17.1.0~1121^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F42742%2Fhead;p=ceph.git include/object.h: do not "using namespace std" 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 --- diff --git a/src/include/object.h b/src/include/object.h index 96951e74de79b..e7cd853b00f39 100644 --- a/src/include/object.h +++ b/src/include/object.h @@ -31,8 +31,6 @@ #include "ceph_hash.h" #include "cmp.h" -using namespace std; - struct object_t { std::string name;