]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/common: remove obsolete fmtlib version check 64465/head
authorKefu Chai <tchaikov@gmail.com>
Sun, 13 Jul 2025 03:09:55 +0000 (11:09 +0800)
committerKefu Chai <tchaikov@gmail.com>
Sun, 13 Jul 2025 03:09:55 +0000 (11:09 +0800)
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 <tchaikov@gmail.com>
src/crimson/common/formatter.cc

index 2b59a710cf9ba21044d498d75cb3a4f56d3cb653..9da5d97d8f7771cd7da433a9966d94fa9273c371 100644 (file)
@@ -4,12 +4,7 @@
 #include "formatter.h"
 
 #include <chrono>
-#include <fmt/format.h>
-#if FMT_VERSION >= 60000
 #include <fmt/chrono.h>
-#else
-#include <fmt/time.h>
-#endif
 
 
 template <>