From 1c7f043e6f148ad2a9e9fcf582cd768e5389d539 Mon Sep 17 00:00:00 2001 From: Patrick Wuttke Date: Mon, 22 Sep 2025 21:47:05 +0200 Subject: [PATCH] Fixed compilation using GCC due to duplicate template parameter name. --- source/mijin/async/coroutine.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);