thread_local InterruptCondRef<InterruptCond> interrupt_cond;
template <typename InterruptCond, typename FutureType>
-class interruptible_future_detail {};
+class [[nodiscard]] interruptible_future_detail {};
template <typename FutureType>
struct is_interruptible_future : public std::false_type {};
}
template <typename InterruptCond, typename T>
-class interruptible_future_detail<InterruptCond, seastar::future<T>>
+class [[nodiscard]] interruptible_future_detail<InterruptCond, seastar::future<T>>
: private seastar::future<T> {
public:
using core_type = seastar::future<T>;
template <typename InterruptCond,
template <typename...> typename ErroratedFuture,
typename T>
-class interruptible_future_detail<
+class [[nodiscard]] interruptible_future_detail<
InterruptCond,
ErroratedFuture<::crimson::errorated_future_marker<T>>>
: private ErroratedFuture<::crimson::errorated_future_marker<T>>