summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam C. Emerson <aemerson@redhat.com>2022-01-21 19:58:08 -0500
committerAdam C. Emerson <aemerson@redhat.com>2022-01-21 22:28:45 -0500
commit636ea2382e83bee182c1aa76a5461cd83d001b5f (patch)
tree1ae3fc7fe1cc64b17ca923e524a12a467ec73433
parent0878150f8b89e53a55f6cd61dd5a1c4c7c5114d7 (diff)
downloadceph-636ea2382e83bee182c1aa76a5461cd83d001b5f.tar.gz
neorados: Remove using namespace std::literals from header
We don't actually need it. Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
-rw-r--r--src/include/neorados/RADOS.hpp4
-rw-r--r--src/neorados/RADOS.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/neorados/RADOS.hpp b/src/include/neorados/RADOS.hpp
index 244442bcf60..fa1ac92ae51 100644
--- a/src/include/neorados/RADOS.hpp
+++ b/src/include/neorados/RADOS.hpp
@@ -60,8 +60,6 @@
#include "common/ceph_time.h"
namespace neorados {
-using namespace std::literals;
-
class Object;
class IOContext;
}
@@ -186,7 +184,7 @@ private:
std::aligned_storage_t<impl_size> impl;
};
-inline constexpr std::string_view all_nspaces("\001"sv);
+inline constexpr std::string_view all_nspaces("\001");
enum class cmpxattr_op : std::uint8_t {
eq = 1,
diff --git a/src/neorados/RADOS.cc b/src/neorados/RADOS.cc
index 1784a939dac..93f02b1ae70 100644
--- a/src/neorados/RADOS.cc
+++ b/src/neorados/RADOS.cc
@@ -37,6 +37,8 @@
#include "neorados/RADOSImpl.h"
#include "include/neorados/RADOS.hpp"
+using namespace std::literals;
+
namespace bc = boost::container;
namespace bs = boost::system;
namespace ca = ceph::async;