]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common: Update admin_socket.h to work without using namespace
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 29 Mar 2019 01:16:52 +0000 (21:16 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 29 Mar 2019 14:30:37 +0000 (10:30 -0400)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/common/admin_socket.h

index 9f2c5ee87e233da0a0c9d0ae493b579d5c399df2..d6361adcfc73e5ac0645220f9f450baedc727282 100644 (file)
@@ -34,7 +34,7 @@ inline constexpr auto CEPH_ADMIN_SOCK_VERSION = "2"sv;
 class AdminSocketHook {
 public:
   virtual bool call(std::string_view command, const cmdmap_t& cmdmap,
-                   std::string_view format, bufferlist& out) = 0;
+                   std::string_view format, ceph::buffer::list& out) = 0;
   virtual ~AdminSocketHook() {}
 };
 
@@ -108,7 +108,7 @@ private:
   bool do_accept();
   bool validate(const std::string& command,
                const cmdmap_t& cmdmap,
-               bufferlist& out) const;
+               ceph::buffer::list& out) const;
 
   CephContext *m_cct;
   std::string m_path;