File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
include/beman/execution26/detail Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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(static_cast <Error>( ::std::declval<Error>() ))))
33+ requires (not noexcept (::std::declval<Receiver>().set_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
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ struct arg_throwing {};
1717struct receiver {
1818 auto set_error (int ) noexcept -> void {}
1919 // NOTLINTNEXTLINE(performance-unnecessary-value-param)
20- auto set_error (test::throws) noexcept -> void {}
20+ auto set_error (test::throws) noexcept ( false ) -> void {}
2121 auto set_error (arg a) noexcept -> void { ASSERT (a.value == 43 ); }
2222 auto set_error (arg_throwing) -> void {}
2323};
You can’t perform that action at this time.
0 commit comments