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

index d2830f45f2bdb63a417be627f4fdd9411a596250..1d68161b2a231ddae3a97e51332984eaa9776f02 100644 (file)
@@ -53,6 +53,10 @@ class MDirUpdate : public Message {
     if (discover) this->discover = 5;
     this->path = path;
   }
+private:
+  ~MDirUpdate() {}
+
+public:
   const char *get_type_name() { return "dir_update"; }
   void print(ostream& out) {
     out << "dir_update(" << get_dirfrag() << ")";