diff --git a/include/beman/execution/detail/completion_signature.hpp b/include/beman/execution/detail/completion_signature.hpp index 41d8a2a8..49ff4165 100644 --- a/include/beman/execution/detail/completion_signature.hpp +++ b/include/beman/execution/detail/completion_signature.hpp @@ -17,10 +17,8 @@ struct is_set_error : ::std::false_type {}; template struct is_set_error<::beman::execution::set_error_t(Error)> : ::std::true_type {}; -template -struct is_set_stopped : ::std::false_type {}; -template <> -struct is_set_error<::beman::execution::set_stopped_t()> : ::std::true_type {}; +template +using is_set_stopped = ::std::is_same; template struct is_set_value : ::std::false_type {};