diff --git a/examples/intro-timer.hpp b/examples/intro-timer.hpp index 5a6d3b10..a81ffe6e 100644 --- a/examples/intro-timer.hpp +++ b/examples/intro-timer.hpp @@ -7,6 +7,7 @@ #define INCLUDED_EXAMPLES_INTRO_TIMER #include +#include #include #include #include diff --git a/include/beman/execution/detail/when_all.hpp b/include/beman/execution/detail/when_all.hpp index dfb16b67..0af45779 100644 --- a/include/beman/execution/detail/when_all.hpp +++ b/include/beman/execution/detail/when_all.hpp @@ -122,7 +122,7 @@ struct impls_for<::beman::execution::detail::when_all_t> : ::beman::execution::d } void complete(Receiver& recvr) noexcept { - switch (this->disp) { + switch (disposition(this->disp)) { case disposition::started: { auto tie = [](::std::tuple& t) noexcept { return ::std::apply([](auto&... a) { return ::std::tie(a...); }, t);