From: Yao Zongyou Date: Thu, 31 Jan 2019 02:47:46 +0000 (+0800) Subject: mon: remove redundant friend class C_Updated declaration X-Git-Tag: v14.1.1~129^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d51871495c77bf3ed3cee546e644d8b1c6035d6a;p=ceph.git mon: remove redundant friend class C_Updated declaration Signed-off-by: Yao Zongyou --- diff --git a/src/mon/MgrMonitor.h b/src/mon/MgrMonitor.h index d8cfc0e5dd0..73063677dcb 100644 --- a/src/mon/MgrMonitor.h +++ b/src/mon/MgrMonitor.h @@ -125,8 +125,6 @@ public: void count_metadata(const string& field, Formatter *f); void count_metadata(const string& field, std::map *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 diff --git a/src/mon/MgrStatMonitor.h b/src/mon/MgrStatMonitor.h index ee77bf3fc2e..683a180b8ed 100644 --- a/src/mon/MgrStatMonitor.h +++ b/src/mon/MgrStatMonitor.h @@ -98,6 +98,4 @@ public: bool verbose) const { digest.dump_pool_stats_full(osdm, ss, f, verbose); } - - friend class C_Updated; };