From 9d38f60207e825dd44e35c34e8bb42dfee489437 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Fri, 2 Dec 2022 11:57:29 +0100 Subject: [PATCH] registry: thanks MSVC for accepting invalid C++ code --- src/entt/entity/registry.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entt/entity/registry.hpp b/src/entt/entity/registry.hpp index 6fff666db..97514686c 100644 --- a/src/entt/entity/registry.hpp +++ b/src/entt/entity/registry.hpp @@ -304,7 +304,7 @@ class basic_registry { auto &cpool = pools[id]; if(!cpool) { - using alloc_type = storage_for_type>::allocator_type; + using alloc_type = typename storage_for_type>::allocator_type; if constexpr(std::is_same_v && !std::is_constructible_v) { // std::allocator has no cross constructors (waiting for C++20)