From 9610029d3efdb3fad8245b4d96f8e8d77139b6fd Mon Sep 17 00:00:00 2001 From: John Spray Date: Thu, 18 Sep 2014 17:58:48 +0100 Subject: [PATCH] messages: fix constness in MCommand constructor Signed-off-by: John Spray --- src/messages/MCommand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messages/MCommand.h b/src/messages/MCommand.h index e2fe0752f34f6..802ef6942f598 100644 --- a/src/messages/MCommand.h +++ b/src/messages/MCommand.h @@ -27,7 +27,7 @@ class MCommand : public Message { MCommand() : Message(MSG_MON_COMMAND) {} - MCommand(uuid_d &f) + MCommand(const uuid_d &f) : Message(MSG_COMMAND), fsid(f) { } -- 2.39.5