diff --git a/stlab/concurrency/future.hpp b/stlab/concurrency/future.hpp index 3405c480..392e2930 100755 --- a/stlab/concurrency/future.hpp +++ b/stlab/concurrency/future.hpp @@ -1543,7 +1543,7 @@ inline auto _reduce(E&&, R&& r) { /** implements the coroutine: - [](future>&& r) -> future { + [](future>&& r) -> task { co_return co_await co_await move(r); }