From: Adam C. Emerson Date: Fri, 29 Mar 2019 00:51:01 +0000 (-0400) Subject: messages: Update MMonGetOSDMap.h to work without using namespace X-Git-Tag: v15.0.0~19^2~78 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=748692d5b2d8a7472ff7595de2abc07936c5333f;p=ceph.git messages: Update MMonGetOSDMap.h to work without using namespace Signed-off-by: Adam C. Emerson --- diff --git a/src/messages/MMonGetOSDMap.h b/src/messages/MMonGetOSDMap.h index 926a60839e23..c842c619ad5c 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;