From dee200029efa7273732e31ce2fa8eb3ca1b18503 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sun, 13 Jul 2025 11:09:55 +0800 Subject: [PATCH] crimson/common: remove obsolete fmtlib version check Since commit 686dd3d8, we require fmtlib >= 8.1.1, making the version check for fmtlib < 6.0.0 obsolete. This change removes the unnecessary version detection code. Signed-off-by: Kefu Chai --- src/crimson/common/formatter.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/crimson/common/formatter.cc b/src/crimson/common/formatter.cc index 2b59a710cf9b..9da5d97d8f77 100644 --- a/src/crimson/common/formatter.cc +++ b/src/crimson/common/formatter.cc @@ -4,12 +4,7 @@ #include "formatter.h" #include -#include -#if FMT_VERSION >= 60000 #include -#else -#include -#endif template <> -- 2.47.3