From: Kefu Chai Date: Wed, 11 Aug 2021 07:55:39 +0000 (+0800) Subject: ceph_fuse: build without "using namespace std" X-Git-Tag: v17.1.0~1121^2~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8c70de490101871b07d1cfc5e6b58855514a0b61;p=ceph.git ceph_fuse: 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 --- diff --git a/src/ceph_fuse.cc b/src/ceph_fuse.cc index b7f8a4d4b901..01858fccbe4c 100644 --- a/src/ceph_fuse.cc +++ b/src/ceph_fuse.cc @@ -47,6 +47,8 @@ #define dout_context g_ceph_context +using namespace std; + ceph::async::io_context_pool icp; static void fuse_usage()