summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Farnum <gregf@hq.newdream.net>2010-03-30 23:11:02 +0200
committerGreg Farnum <gregf@hq.newdream.net>2010-03-31 23:59:36 +0200
commit2861c567fdd4c27435e028179e6276911ed8732f (patch)
treebb447c8df5fccde7445d3f93e727e127836cb445
parentmsg: fix uses of MLogAck destructor to use put() (diff)
downloadceph-2861c567fdd4c27435e028179e6276911ed8732f.tar.xz
ceph-2861c567fdd4c27435e028179e6276911ed8732f.zip
msg: MPing has a private destructor
-rw-r--r--src/messages/MPing.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/messages/MPing.h b/src/messages/MPing.h
index a065c69d349..1c0082ce93f 100644
--- a/src/messages/MPing.h
+++ b/src/messages/MPing.h
@@ -23,7 +23,10 @@
class MPing : public Message {
public:
MPing() : Message(CEPH_MSG_PING) {}
+private:
+ ~MPing() {}
+public:
void decode_payload() { }
void encode_payload() { }
const char *get_type_name() { return "ping"; }