From 41b4b1c9ea5e3271ab597e33280fe3c788f76ad0 Mon Sep 17 00:00:00 2001 From: "Adam C. Emerson" Date: Thu, 28 Mar 2019 20:54:55 -0400 Subject: [PATCH] messages: Update MCommand.h to work without using namespace Signed-off-by: Adam C. Emerson --- src/messages/MCommand.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/messages/MCommand.h b/src/messages/MCommand.h index 421d04c2c56d1..ce8fde106ed8a 100644 --- a/src/messages/MCommand.h +++ b/src/messages/MCommand.h @@ -24,7 +24,7 @@ public: friend factory; uuid_d fsid; - std::vector cmd; + std::vector cmd; MCommand() : MessageInstance(MSG_COMMAND) {} @@ -35,9 +35,9 @@ public: private: ~MCommand() override {} -public: +public: std::string_view get_type_name() const override { return "command"; } - void print(ostream& o) const override { + void print(std::ostream& o) const override { o << "command(tid " << get_tid() << ": "; for (unsigned i=0; i