]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/objectstore/..ops_replayer: cleanup include std::format
authorMatan Breizman <mbreizma@redhat.com>
Sun, 16 Feb 2025 14:30:13 +0000 (14:30 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 20 Feb 2025 14:19:29 +0000 (14:19 +0000)
clang16 hides std::format behind `-fexperimental-library` [1].
This is no longer the case with clang 17 [2].
As std::fmt is not used in this file we can clean it up for now.

Note: Future commits will aim to switch to clang17.

[1] https://prereleases.llvm.org/16.0.0/rc3/projects/libcxx/docs/UsingLibcxx.html#extensions-to-format
[2] https://releases.llvm.org/17.0.1/projects/libcxx/docs/ReleaseNotes/17.html

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/test/objectstore/allocsim/ops_replayer.cc

index c5908d9f57603dd68b95305a7bdf89f5c8852203..057d19d90993cd86a1bff3c6601834a51dbbccac 100644 (file)
@@ -21,7 +21,6 @@
 #include <string>
 #include <iostream>
 #include <vector>
-#include <format>
 
 #include <fmt/format.h>