]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
messages: Update MMgrConfigure.h to work without using namespace
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 29 Mar 2019 00:52:10 +0000 (20:52 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 29 Mar 2019 14:30:36 +0000 (10:30 -0400)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/messages/MMgrConfigure.h

index b9f69095fceadadbd6b529daea5e963d17373c6d..9e9f1af5908f469be0d1818a9955a26dd253b856 100644 (file)
@@ -40,6 +40,7 @@ public:
 
   void decode_payload() override
   {
+    using ceph::decode;
     auto p = payload.cbegin();
     decode(stats_period, p);
     if (header.version >= 2) {
@@ -58,9 +59,9 @@ public:
   }
 
   std::string_view get_type_name() const override { return "mgrconfigure"; }
-  void print(ostream& out) const override {
+  void print(std::ostream& out) const override {
     out << get_type_name() << "(period=" << stats_period
-                           << ", threshold=" << stats_threshold << ")";
+                          << ", threshold=" << stats_threshold << ")";
   }
 
   MMgrConfigure()