Skip to content

Commit b9ffdba

Browse files
committed
common/DecayCounter: forward-declare ceph::Formatter
Signed-off-by: Max Kellermann <[email protected]>
1 parent 9615c04 commit b9ffdba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/common/DecayCounter.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@
1616
#define CEPH_DECAYCOUNTER_H
1717

1818
#include "include/buffer.h"
19-
#include "common/Formatter.h"
2019
#include "common/StackStringStream.h"
2120
#include "common/ceph_time.h"
2221

2322
#include <cmath>
2423
#include <list>
2524
#include <sstream>
2625

26+
namespace ceph { class Formatter; }
27+
2728
/**
2829
*
2930
* TODO: normalize value based on some function of half_life,

0 commit comments

Comments
 (0)