From 25e9330bb436e186962799404cde01fe320cf6a5 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Tue, 22 Feb 2022 09:45:03 +0100 Subject: [PATCH] memory: avoid ambiguous call with C++20 --- src/entt/core/memory.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entt/core/memory.hpp b/src/entt/core/memory.hpp index 7ea61010d..f3a3cad07 100644 --- a/src/entt/core/memory.hpp +++ b/src/entt/core/memory.hpp @@ -211,7 +211,7 @@ constexpr auto uses_allocator_construction_args(const Allocator &allocator, Args */ template constexpr Type make_obj_using_allocator(const Allocator &allocator, Args &&...args) { - return std::make_from_tuple(uses_allocator_construction_args(allocator, std::forward(args)...)); + return std::make_from_tuple(entt::uses_allocator_construction_args(allocator, std::forward(args)...)); } } // namespace entt