diff --git a/include/stdexec/__detail/__read_env.hpp b/include/stdexec/__detail/__read_env.hpp index b0c88e998..af79ae5a6 100644 --- a/include/stdexec/__detail/__read_env.hpp +++ b/include/stdexec/__detail/__read_env.hpp @@ -80,9 +80,8 @@ namespace STDEXEC template struct __attrs { - template STDEXEC_ATTRIBUTE(nodiscard) - constexpr auto query(__get_completion_behavior_t<_SetTag>) const noexcept + constexpr auto query(__get_completion_behavior_t) const noexcept { return __completion_behavior::__inline_completion; }