File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -709,17 +709,20 @@ namespace stdexec {
709
709
using __t = __sync_attrs;
710
710
using __id = __sync_attrs;
711
711
712
- static constexpr auto query (__is_scheduler_affine_t ) noexcept -> bool {
713
- return __is_scheduler_affine<_Sender>;
712
+ [[nodiscard]]
713
+ constexpr auto query (__is_scheduler_affine_t ) const noexcept {
714
+ return __mbool<__is_scheduler_affine<_Sender>>();
714
715
}
715
716
716
717
template <class ... _Env>
717
- static constexpr auto query (get_completion_behavior_t , const _Env&...) noexcept {
718
+ [[nodiscard]]
719
+ constexpr auto query (get_completion_behavior_t , const _Env&...) const noexcept {
718
720
return get_completion_behavior<_Sender, _Env...>();
719
721
}
720
722
721
723
template <__forwarding_query _Query, class ... _Args>
722
724
requires __queryable_with<env_of_t <_Sender>, _Query, _Args...>
725
+ [[nodiscard]]
723
726
constexpr auto query (_Query, _Args&&... __args) const
724
727
noexcept (__nothrow_queryable_with<env_of_t <_Sender>, _Query, _Args...>)
725
728
-> __query_result_t<env_of_t<_Sender>, _Query, _Args...> {
You can’t perform that action at this time.
0 commit comments