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

index 012c758d67e9d15ec6108591cc064806c4091f39..ac819e184094298fe7f4ce7e8e5cc93949dd0397 100644 (file)
 #ifndef CEPH_MLOGACK_H
 #define CEPH_MLOGACK_H
 
+#include <iostream>
+#include <string>
+#include <string_view>
+
+#include "include/uuid.h"
+
+#include "msg/Message.h"
+
 class MLogAck : public MessageInstance<MLogAck> {
 public:
   friend factory;
@@ -30,7 +38,7 @@ private:
 
 public:
   std::string_view get_type_name() const override { return "log_ack"; }
-  void print(ostream& out) const override {
+  void print(std::ostream& out) const override {
     out << "log(last " << last << ")";
   }