summaryrefslogtreecommitdiffstats
path: root/src/messages/MPoolOp.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/MPoolOp.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/MPoolOp.h')
-rw-r--r--src/messages/MPoolOp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messages/MPoolOp.h b/src/messages/MPoolOp.h
index 5ed45944bab..c4ec9d86344 100644
--- a/src/messages/MPoolOp.h
+++ b/src/messages/MPoolOp.h
@@ -45,8 +45,8 @@ private:
~MPoolOp() {}
public:
- const char *get_type_name() { return "poolop"; }
- void print(ostream& out) {
+ const char *get_type_name() const { return "poolop"; }
+ void print(ostream& out) const {
out << "pool_op(" << ceph_pool_op_name(op) << " pool " << pool
<< " auid " << auid
<< " tid " << get_tid()