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

index 80f5a9340d6a1307e7a73aef03abdd6377d9b759..b7b099feb9153c913939c4982981df41d06026f8 100644 (file)
@@ -30,6 +30,10 @@ public:
   MPGStats(ceph_fsid_t& f, epoch_t e, utime_t had) : 
     PaxosServiceMessage(MSG_PGSTATS, e), fsid(f), epoch(e), had_map_for(had) {}
 
+private:
+  ~MPGStats() {};
+
+public:
   const char *get_type_name() { return "pg_stats"; }
   void print(ostream& out) {
     out << "pg_stats(" << pg_stat.size() << " pgs v " << version << ")";