summaryrefslogtreecommitdiffstats
path: root/src/messages/MPing.h
diff options
context:
space:
mode:
authorSage Weil <sage.weil@dreamhost.com>2012-01-30 22:28:44 +0100
committerSage Weil <sage.weil@dreamhost.com>2012-01-30 22:28:53 +0100
commit9987f8f95cf2e6f9d7619e50a8b7742762d974ee (patch)
tree0d6e55838dc8e6099af5dd00b6685920cd022643 /src/messages/MPing.h
parentpaxos: explicitly pass in send timestamp (diff)
downloadceph-9987f8f95cf2e6f9d7619e50a8b7742762d974ee.tar.xz
ceph-9987f8f95cf2e6f9d7619e50a8b7742762d974ee.zip
msg: go const-crazy on messages
- get_type_name() - print() and all the random crap they call. Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Diffstat (limited to 'src/messages/MPing.h')
-rw-r--r--src/messages/MPing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages/MPing.h b/src/messages/MPing.h
index 005f11c786b..3cd051497ea 100644
--- a/src/messages/MPing.h
+++ b/src/messages/MPing.h
@@ -29,7 +29,7 @@ private:
public:
void decode_payload() { }
void encode_payload(uint64_t features) { }
- const char *get_type_name() { return "ping"; }
+ const char *get_type_name() const { return "ping"; }
};
#endif