]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/Monitor: forward-declare class Messenger
authorMax Kellermann <max.kellermann@ionos.com>
Fri, 15 Aug 2025 09:46:41 +0000 (11:46 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Tue, 16 Sep 2025 10:42:05 +0000 (12:42 +0200)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/mon/Monitor.cc
src/mon/Monitor.h

index 891a8196c39063e308a8748766c7076ef024975b..198b58a2266b354abe0fef81d3a5e519df98c942 100644 (file)
@@ -63,6 +63,8 @@
 #include "messages/MTimeCheck2.h"
 #include "messages/MPing.h"
 
+#include "msg/Messenger.h"
+
 #include "common/strtol.h"
 #include "common/ceph_argparse.h"
 #include "common/Timer.h"
index 016d53ed23d31da1459abf8d052eb8997af1f8cf..2830e0ef8b0220b5a0f9a9138e62367de8f674c1 100644 (file)
@@ -30,7 +30,6 @@
 
 #include "include/types.h"
 #include "include/health.h"
-#include "msg/Messenger.h"
 
 #include "common/Timer.h"
 
@@ -59,6 +58,8 @@
 #include "mon/MonOpRequest.h"
 #include "common/WorkQueue.h"
 
+class Messenger;
+
 using namespace TOPNSPC::common;
 
 #define CEPH_MON_PROTOCOL     13 /* cluster internal */