]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/entity_name: forward-declare class entity_name_t
authorMax Kellermann <max.kellermann@ionos.com>
Tue, 22 Apr 2025 11:32:01 +0000 (13:32 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Tue, 5 Aug 2025 08:28:01 +0000 (10:28 +0200)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/common/entity_name.cc
src/common/entity_name.h

index 02bc79e851da3aa472168746359bf1d24b53bf3c..6e1ad62526eb1f7a53114d1513d13afb1c69120f 100644 (file)
@@ -15,6 +15,7 @@
 #include "common/entity_name.h"
 #include "common/ceph_strings.h"
 #include "common/Formatter.h"
+#include "msg/msg_types.h"
 
 #include <sstream>
 
index f56c6f0c34c37e6ea46a1c4917a48954aa302d47..6967415d1b33968e41a5601f04a2e458045cccab 100644 (file)
@@ -23,8 +23,8 @@
 #include "include/buffer.h"
 #include "include/encoding.h" // for WRITE_CLASS_ENCODER()
 #include "include/msgr.h" // for CEPH_ENTITY_*
-#include "msg/msg_types.h"
 
+class entity_name_t;
 namespace ceph { class Formatter; }
 
 /* Represents a Ceph entity name.