From d51871495c77bf3ed3cee546e644d8b1c6035d6a Mon Sep 17 00:00:00 2001 From: Yao Zongyou Date: Thu, 31 Jan 2019 10:47:46 +0800 Subject: [PATCH] mon: remove redundant friend class C_Updated declaration Signed-off-by: Yao Zongyou --- src/mon/MgrMonitor.h | 2 -- src/mon/MgrStatMonitor.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/mon/MgrMonitor.h b/src/mon/MgrMonitor.h index d8cfc0e5dd0c9..73063677dcbd8 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 ee77bf3fc2edf..683a180b8eded 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; }; -- 2.39.5