]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msg: MClientCaps has a private destructor
authorGreg Farnum <gregf@hq.newdream.net>
Tue, 30 Mar 2010 23:26:16 +0000 (16:26 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Wed, 31 Mar 2010 21:59:39 +0000 (14:59 -0700)
src/messages/MClientCaps.h

index f48df57deab093b23c6ad88382d958e0b9bed65e..9b8bb3c11af14b7cb79bcc20521d782fff7885a1 100644 (file)
@@ -100,7 +100,10 @@ class MClientCaps : public Message {
     head.cap_id = id;
     head.migrate_seq = mseq;
   }
+private:
+  ~MClientCaps() {}
 
+public:
   const char *get_type_name() { return "Cfcap";}
   void print(ostream& out) {
     out << "client_caps(" << ceph_cap_op_name(head.op)