]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
messages: Update MMonGetOSDMap.h to work without using namespace
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 29 Mar 2019 00:51:01 +0000 (20:51 -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/MMonGetOSDMap.h

index 926a60839e232f4df6b3d8db7dae471fc1da6305..c842c619ad5cca6ca66b127f3980ddf173bd0602 100644 (file)
 #ifndef CEPH_MMONGETOSDMAP_H
 #define CEPH_MMONGETOSDMAP_H
 
+#include <iostream>
+#include <string>
+#include <string_view>
+
 #include "msg/Message.h"
 
 #include "include/types.h"
@@ -62,7 +66,7 @@ public:
   }
 
   std::string_view get_type_name() const override { return "mon_get_osdmap"; }
-  void print(ostream& out) const override {
+  void print(std::ostream& out) const override {
     out << "mon_get_osdmap(";
     if (full_first && full_last)
       out << "full " << full_first << "-" << full_last;