diff --git a/src/crimson/os/alienstore/thread_pool.h b/src/crimson/os/alienstore/thread_pool.h index f8d773319c7..27840da1891 100644 --- a/src/crimson/os/alienstore/thread_pool.h +++ b/src/crimson/os/alienstore/thread_pool.h @@ -24,9 +24,10 @@ struct WorkItem { template struct Task final : WorkItem { using T = std::invoke_result_t; - using future_state_t = std::conditional_t, - seastar::future_state<>, - seastar::future_state>; + using future_stored_type_t = + std::conditional_t, + seastar::internal::future_stored_type_t<>, + seastar::internal::future_stored_type_t>; using futurator_t = seastar::futurize; public: explicit Task(Func&& f) @@ -56,7 +57,7 @@ public: } private: Func func; - future_state_t state; + seastar::future_state state; seastar::readable_eventfd on_done; };