]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/DecayCounter: forward-declare ceph::Formatter
authorMax Kellermann <max.kellermann@ionos.com>
Fri, 4 Oct 2024 19:17:17 +0000 (21:17 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Mon, 4 Nov 2024 21:31:06 +0000 (22:31 +0100)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/common/DecayCounter.h

index 9455ecc5a33d67e36f2e34343a61aa5cf23997af..30570c72a306e7cbf6ac8795850e112cb72bdf14 100644 (file)
@@ -16,7 +16,6 @@
 #define CEPH_DECAYCOUNTER_H
 
 #include "include/buffer.h"
-#include "common/Formatter.h"
 #include "common/StackStringStream.h"
 #include "common/ceph_time.h"
 
@@ -24,6 +23,8 @@
 #include <list>
 #include <sstream>
 
+namespace ceph { class Formatter; }
+
 /**
  *
  * TODO: normalize value based on some function of half_life,