diff options
author | Kefu Chai <kchai@redhat.com> | 2021-08-11 05:43:42 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2021-08-13 06:21:38 +0200 |
commit | f3f6325dbda5ec827de4d3fc1c09de08ba75da12 (patch) | |
tree | 1802fd0ebbe935dd6362e6ec879042d82291240f /src/rgw/rgw_swift_auth.cc | |
parent | tools: build without "using namespace std" (diff) | |
download | ceph-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.cc | 1 |
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; |