Skip to content

Commit 1897253

Browse files
authored
Apply suggestions from code review
Co-authored-by: Eric Niebler <eniebler@boost.org>
1 parent a72655a commit 1897253

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

include/exec/env.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,8 @@ namespace experimental::execution
7070
}
7171

7272
template <class _Env, class _Query>
73-
requires(!STDEXEC::__queryable_with<_Env, _Query>)
7473
constexpr auto operator()(_Env&& __env, _Query) const
75-
noexcept(STDEXEC::__nothrow_constructible_from<_Env, _Env>) -> _Env
74+
noexcept(STDEXEC::__nothrow_move_constructible<_Env>) -> _Env
7675
{
7776
return static_cast<_Env&&>(__env);
7877
}

0 commit comments

Comments
 (0)