]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/seastar/include/seastar/testing/perf_tests.hh
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / seastar / include / seastar / testing / perf_tests.hh
index edb2cfe667757de1e1f2ae64f0821804c125cc06..d225310ba5b702577fde9bf43699baadce0fe0fd 100644 (file)
@@ -27,8 +27,7 @@
 #include <fmt/format.h>
 
 #include <seastar/core/future.hh>
-#include <seastar/core/future-util.hh>
-
+#include <seastar/core/loop.hh>
 
 using namespace seastar;
 
@@ -146,7 +145,7 @@ do_if_constexpr_<Condition, TrueFn, FalseFn> if_constexpr_(TrueFn&& true_fn, Fal
 
 template<typename Test>
 class concrete_performance_test final : public performance_test {
-    compat::optional<Test> _test;
+    std::optional<Test> _test;
 private:
     template<typename... Args>
     auto run_test(Args&&...) {
@@ -159,7 +158,7 @@ protected:
     }
 
     virtual void tear_down() noexcept override {
-        _test = compat::nullopt;
+        _test = std::nullopt;
     }
 
     [[gnu::hot]]