summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_swift_auth.cc
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2021-08-11 05:43:42 +0200
committerKefu Chai <kchai@redhat.com>2021-08-13 06:21:38 +0200
commitf3f6325dbda5ec827de4d3fc1c09de08ba75da12 (patch)
tree1802fd0ebbe935dd6362e6ec879042d82291240f /src/rgw/rgw_swift_auth.cc
parenttools: build without "using namespace std" (diff)
downloadceph-f3f6325dbda5ec827de4d3fc1c09de08ba75da12.tar.xz
ceph-f3f6325dbda5ec827de4d3fc1c09de08ba75da12.zip
rgw: 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/rgw/rgw_swift_auth.cc')
-rw-r--r--src/rgw/rgw_swift_auth.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rgw/rgw_swift_auth.cc b/src/rgw/rgw_swift_auth.cc
index 640c85fcdb0..3791e7d9214 100644
--- a/src/rgw/rgw_swift_auth.cc
+++ b/src/rgw/rgw_swift_auth.cc
@@ -27,6 +27,7 @@
#define DEFAULT_SWIFT_PREFIX "/swift"
+using namespace std;
using namespace ceph::crypto;