From 8c70de490101871b07d1cfc5e6b58855514a0b61 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 11 Aug 2021 15:55:39 +0800 Subject: [PATCH] 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 --- src/ceph_fuse.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ceph_fuse.cc b/src/ceph_fuse.cc index b7f8a4d4b90..01858fccbe4 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() -- 2.39.5