From 4dbe8f56b6d9a063517c9769daa20b93140c2136 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Tue, 17 Jan 2023 19:11:44 +0000 Subject: [PATCH] crimson/osd: fix compilation guard around specialization for libfmt => 9 Signed-off-by: Radoslaw Zarzynski --- src/crush/CrushLocation.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/crush/CrushLocation.h b/src/crush/CrushLocation.h index 2d2d4b52b966..026ad107d833 100644 --- a/src/crush/CrushLocation.h +++ b/src/crush/CrushLocation.h @@ -37,8 +37,9 @@ private: std::ostream& operator<<(std::ostream& os, const CrushLocation& loc); } -#endif #if FMT_VERSION >= 90000 template <> struct fmt::formatter : fmt::ostream_formatter {}; #endif + +#endif -- 2.47.3