From: Adam C. Emerson Date: Fri, 29 Mar 2019 00:52:10 +0000 (-0400) Subject: messages: Update MMgrConfigure.h to work without using namespace X-Git-Tag: v15.0.0~19^2~72 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=68767d1a5200f60c85ffba19e89aea208bd35f77;p=ceph-ci.git messages: Update MMgrConfigure.h to work without using namespace Signed-off-by: Adam C. Emerson --- diff --git a/src/messages/MMgrConfigure.h b/src/messages/MMgrConfigure.h index b9f69095fce..9e9f1af5908 100644 --- a/src/messages/MMgrConfigure.h +++ b/src/messages/MMgrConfigure.h @@ -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()