diff --git a/include/unifex/await_transform.hpp b/include/unifex/await_transform.hpp index e0d08ed2..6c9b655f 100644 --- a/include/unifex/await_transform.hpp +++ b/include/unifex/await_transform.hpp @@ -476,7 +476,7 @@ class _awaitable_wrapper::type final { friend auto tag_invoke(CPO cpo, const type& self) noexcept( std::is_nothrow_invocable_v) -> std::invoke_result_t { - return std::move(cpo)(std::as_const(self.awaitable)); + return std::move(cpo)(std::as_const(self.awaitable_)); } };