diff options
author | Sage Weil <sage.weil@dreamhost.com> | 2012-01-30 22:28:44 +0100 |
---|---|---|
committer | Sage Weil <sage.weil@dreamhost.com> | 2012-01-30 22:28:53 +0100 |
commit | 9987f8f95cf2e6f9d7619e50a8b7742762d974ee (patch) | |
tree | 0d6e55838dc8e6099af5dd00b6685920cd022643 /src/messages/MOSDRepScrub.h | |
parent | paxos: explicitly pass in send timestamp (diff) | |
download | ceph-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/MOSDRepScrub.h')
-rw-r--r-- | src/messages/MOSDRepScrub.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messages/MOSDRepScrub.h b/src/messages/MOSDRepScrub.h index 9837f287e18..522bfb22b21 100644 --- a/src/messages/MOSDRepScrub.h +++ b/src/messages/MOSDRepScrub.h @@ -41,8 +41,8 @@ private: ~MOSDRepScrub() {} public: - const char *get_type_name() { return "replica scrub"; } - void print(ostream& out) { + const char *get_type_name() const { return "replica scrub"; } + void print(ostream& out) const { out << "replica scrub(pg: "; out << pgid << ",from:" << scrub_from << ",to:" << scrub_to << "epoch:" << map_epoch; |