summaryrefslogtreecommitdiffstats
path: root/src/test/librados/service.cc
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2021-08-11 05:53:01 +0200
committerKefu Chai <kchai@redhat.com>2021-08-13 06:23:36 +0200
commit1d1e173876db1067d001e688b8eff0375908226f (patch)
tree3f7924142da0d53816a341ef482e935f7b7db4d1 /src/test/librados/service.cc
parenttest/erasure-code: build without "using namespace std" (diff)
downloadceph-1d1e173876db1067d001e688b8eff0375908226f.tar.xz
ceph-1d1e173876db1067d001e688b8eff0375908226f.zip
test: : 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>
Diffstat (limited to 'src/test/librados/service.cc')
-rw-r--r--src/test/librados/service.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/librados/service.cc b/src/test/librados/service.cc
index 223dc967b9a..55197b6f960 100644
--- a/src/test/librados/service.cc
+++ b/src/test/librados/service.cc
@@ -14,6 +14,7 @@
#include "gtest/gtest.h"
#include "test/unit.cc"
+using namespace std;
using namespace librados;
TEST(LibRadosService, RegisterEarly) {