]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: remove redundant friend class C_Updated declaration 26219/head
authorYao Zongyou <yaozongyou@vip.qq.com>
Thu, 31 Jan 2019 02:47:46 +0000 (10:47 +0800)
committerYao Zongyou <yaozongyou@vip.qq.com>
Thu, 31 Jan 2019 02:47:46 +0000 (10:47 +0800)
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
src/mon/MgrMonitor.h
src/mon/MgrStatMonitor.h

index d8cfc0e5dd0c9d434bc20eb1f649d0875c3fc7b8..73063677dcbd88efe485a0caa5cb1d6f2a998234 100644 (file)
@@ -125,8 +125,6 @@ public:
   void count_metadata(const string& field, Formatter *f);
   void count_metadata(const string& field, std::map<string,int> *out);
 
-  friend class C_Updated;
-
   // When did the mon last call into our tick() method?  Used for detecting
   // when the mon was not updating us for some period (e.g. during slow
   // election) to reset last_beacon timeouts
index ee77bf3fc2edf632e3e6ca4d93942a0de4311aac..683a180b8eded1ced7545b727abf915ed3ad1c4d 100644 (file)
@@ -98,6 +98,4 @@ public:
                       bool verbose) const {
     digest.dump_pool_stats_full(osdm, ss, f, verbose);
   }
-
-  friend class C_Updated;
 };