From 63316c566db97138b2155f0da561c3cbffa0629d Mon Sep 17 00:00:00 2001 From: Cra3z <3324654761@qq.com> Date: Wed, 23 Apr 2025 19:30:35 +0800 Subject: [PATCH] fix a bug about the type trait `beman::execution::detail::is_set_stopped` --- include/beman/execution/detail/completion_signature.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 {};