summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRadoslaw Zarzynski <rzarzyns@redhat.com>2023-01-17 20:11:44 +0100
committerRadoslaw Zarzynski <rzarzyns@redhat.com>2023-02-28 17:22:05 +0100
commit4dbe8f56b6d9a063517c9769daa20b93140c2136 (patch)
tree15d51952eaa35e274434b88a0dfb2fb4d727a264 /src
parentcrimson/osd: handle snap trim's interruption as any other error (diff)
downloadceph-4dbe8f56b6d9a063517c9769daa20b93140c2136.tar.xz
ceph-4dbe8f56b6d9a063517c9769daa20b93140c2136.zip
crimson/osd: fix compilation guard around specialization for libfmt => 9
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/crush/CrushLocation.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crush/CrushLocation.h b/src/crush/CrushLocation.h
index 2d2d4b52b96..026ad107d83 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<TOPNSPC::crush::CrushLocation> : fmt::ostream_formatter {};
#endif
+
+#endif