From b9ffdba1a771d68d4726536be890fc28072f96c3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 4 Oct 2024 21:17:17 +0200 Subject: [PATCH] common/DecayCounter: forward-declare ceph::Formatter Signed-off-by: Max Kellermann --- src/common/DecayCounter.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/DecayCounter.h b/src/common/DecayCounter.h index 9455ecc5a33d..30570c72a306 100644 --- a/src/common/DecayCounter.h +++ b/src/common/DecayCounter.h @@ -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 #include +namespace ceph { class Formatter; } + /** * * TODO: normalize value based on some function of half_life, -- 2.47.3