]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
messages: fix constness in MCommand constructor
authorJohn Spray <john.spray@redhat.com>
Thu, 18 Sep 2014 16:58:48 +0000 (17:58 +0100)
committerJohn Spray <john.spray@redhat.com>
Wed, 8 Oct 2014 10:58:19 +0000 (11:58 +0100)
Signed-off-by: John Spray <john.spray@redhat.com>
src/messages/MCommand.h

index e2fe0752f34f686f7d8f67ae69c5b744b697c107..802ef6942f5987e08c7a1c68a3fac8e04bd89cdf 100644 (file)
@@ -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) { }