Skip to content

Commit 9030824

Browse files
committed
fix an issue with when_all disposition in a switch statement
1 parent 2e55510 commit 9030824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/beman/execution/detail/when_all.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ struct impls_for<::beman::execution::detail::when_all_t> : ::beman::execution::d
122122
}
123123

124124
void complete(Receiver& recvr) noexcept {
125-
switch (this->disp) {
125+
switch (disposition(this->disp)) {
126126
case disposition::started: {
127127
auto tie = []<typename... T>(::std::tuple<T...>& t) noexcept {
128128
return ::std::apply([](auto&... a) { return ::std::tie(a...); }, t);

0 commit comments

Comments
 (0)