diff --git a/source/mijin/async/coroutine.hpp b/source/mijin/async/coroutine.hpp index 4302444..2711113 100644 --- a/source/mijin/async/coroutine.hpp +++ b/source/mijin/async/coroutine.hpp @@ -340,8 +340,8 @@ struct TaskPromise : impl::TaskReturn typename TAllocator> - auto await_transform(TaskFuturePtr future, std::source_location sourceLoc = std::source_location::current()) MIJIN_NOEXCEPT + template typename TAllocator2> + auto await_transform(TaskFuturePtr future, std::source_location sourceLoc = std::source_location::current()) MIJIN_NOEXCEPT { MIJIN_ASSERT(loop_ != nullptr, "Cannot await future outside of a loop!"); sharedState_->sourceLoc = std::move(sourceLoc);