From 903082410e90a61e639dc671e42702acd083178e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dietmar=20K=C3=BChl?= Date: Mon, 21 Apr 2025 20:55:59 -0400 Subject: [PATCH 1/2] fix an issue with when_all disposition in a switch statement --- include/beman/execution/detail/when_all.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); From 79912566f8b8d289f80b933210796b2ffbb89540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dietmar=20K=C3=BChl?= Date: Mon, 21 Apr 2025 21:05:47 -0400 Subject: [PATCH 2/2] add a missing header --- examples/intro-timer.hpp | 1 + 1 file changed, 1 insertion(+) 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