Fixed compilation using GCC due to duplicate template parameter name.

This commit is contained in:
Patrick 2025-09-22 21:47:05 +02:00
parent 9ae424e968
commit 1c7f043e6f

View File

@ -340,8 +340,8 @@ struct TaskPromise : impl::TaskReturn<typename TTraits::result_t, TaskPromise<TT
// constexpr void unhandled_exception() MIJIN_NOEXCEPT {} // constexpr void unhandled_exception() MIJIN_NOEXCEPT {}
template<typename TValue, template<typename> typename TAllocator> template<typename TValue, template<typename> typename TAllocator2>
auto await_transform(TaskFuturePtr<TValue, TAllocator> future, std::source_location sourceLoc = std::source_location::current()) MIJIN_NOEXCEPT auto await_transform(TaskFuturePtr<TValue, TAllocator2> future, std::source_location sourceLoc = std::source_location::current()) MIJIN_NOEXCEPT
{ {
MIJIN_ASSERT(loop_ != nullptr, "Cannot await future outside of a loop!"); MIJIN_ASSERT(loop_ != nullptr, "Cannot await future outside of a loop!");
sharedState_->sourceLoc = std::move(sourceLoc); sharedState_->sourceLoc = std::move(sourceLoc);