Skip to content

Commit fceff3c

Browse files
committed
another attempt at fixing the problem
1 parent b80fc70 commit fceff3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/beman/execution26/detail/set_error.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct set_error_t {
3030
})
3131
= BEMAN_EXECUTION26_DELETE("set_error requires a suitable member overload on the receiver");
3232
template <typename Receiver, typename Error>
33-
requires(not noexcept(::std::declval<Receiver>().set_error(::std::declval<Error>())))
33+
requires(not noexcept(::std::declval<Receiver>().set_error(static_cast<Error>(::std::declval<Error>()))))
3434
auto operator()(Receiver&&, Error&&) const
3535
-> void = BEMAN_EXECUTION26_DELETE("the call to receiver.set_error(error) has to be noexcept");
3636

0 commit comments

Comments
 (0)