From 748692d5b2d8a7472ff7595de2abc07936c5333f Mon Sep 17 00:00:00 2001 From: "Adam C. Emerson" Date: Thu, 28 Mar 2019 20:51:01 -0400 Subject: [PATCH] messages: Update MMonGetOSDMap.h to work without using namespace Signed-off-by: Adam C. Emerson --- src/messages/MMonGetOSDMap.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/messages/MMonGetOSDMap.h b/src/messages/MMonGetOSDMap.h index 926a60839e232..c842c619ad5cc 100644 --- a/src/messages/MMonGetOSDMap.h +++ b/src/messages/MMonGetOSDMap.h @@ -15,6 +15,10 @@ #ifndef CEPH_MMONGETOSDMAP_H #define CEPH_MMONGETOSDMAP_H +#include +#include +#include + #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; -- 2.39.5