Skip to content

Commit 5d830c7

Browse files
committed
fix some minor issues detected by CI/AI
1 parent 9b41fe8 commit 5d830c7

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

include/beman/execution/detail/starts_on.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ struct starts_on_t {
5959
return ::beman::execution::let_value(
6060
::beman::execution::schedule(scheduler),
6161
[new_sender = ::beman::execution::detail::forward_like<Sender>(new_sender)]() mutable noexcept(
62-
::std::is_nothrow_constructible_v<::std::decay_t<Sender>, Sender>) {
62+
::std::is_nothrow_move_constructible_v<::std::remove_cvref_t<Sender>>) {
6363
return ::std::move(new_sender);
6464
});
6565
}

include/beman/execution/detail/then.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ struct then_t : ::beman::execution::sender_adaptor_closure<then_t<Completion>> {
119119
}
120120
template <::beman::execution::sender Sender, ::beman::execution::detail::movable_value Fun>
121121
auto operator()(Sender&& sender, Fun&& fun) const
122-
noexcept(::std::is_nothrow_constructible_v<::std::remove_cvref_t<Sender>, Sender> &&
122+
noexcept(::std::is_nothrow_constructible_v<::std::remove_cvref_t<Sender>, Sender> &&
123123
::std::is_nothrow_constructible_v<::std::remove_cvref_t<Fun>, Fun>)
124124
{
125125
auto domain{::beman::execution::detail::get_domain_early(sender)};

tests/beman/execution/exec-starts-on.test.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ auto test_starts_on_completions() {
8585
test_std::sync_wait(test::completion_test(test_std::starts_on(test_std::inline_scheduler(),
8686
test_std::just())));
8787
test_std::sync_wait(test::completion_test(test_std::just() | test_std::then([]() noexcept {})));
88-
test_std::sync_wait(test::completion_test(test_std::just() | test_std::then([]() noexcept {})));
8988
test_std::sync_wait(test::completion_test(test_std::let_value(
9089
test_std::just(),
9190
[]() noexcept { return test_std::just(); })));

0 commit comments

Comments
 (0)