]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
neorados: Remove using namespace std::literals from header 44736/head
authorAdam C. Emerson <aemerson@redhat.com>
Sat, 22 Jan 2022 00:58:08 +0000 (19:58 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Sat, 22 Jan 2022 03:28:45 +0000 (22:28 -0500)
We don't actually need it.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/include/neorados/RADOS.hpp
src/neorados/RADOS.cc

index 244442bcf608d3f71f2e06b167cf60396d5b5da2..fa1ac92ae518f625b1a1bf84ca6a54431fc7c049 100644 (file)
@@ -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,
index 1784a939dac118902808b38e4411cce4fa17a724..93f02b1ae702757a1854174a03e056f783a286e0 100644 (file)
@@ -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;