From dc9f0781fc2bef7b11a97cda084efd465050f8b7 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Mon, 11 Mar 2024 11:35:37 +0100 Subject: [PATCH] registry: avoid using sparse set traits_type --- 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 6803b32cd..a70d39309 100644 --- a/src/entt/entity/registry.hpp +++ b/src/entt/entity/registry.hpp @@ -237,7 +237,7 @@ class basic_registry { // std::shared_ptr because of its type erased allocator which is useful here using pool_container_type = dense_map, identity, std::equal_to, typename alloc_traits::template rebind_alloc>>>; using group_container_type = dense_map, identity, std::equal_to, typename alloc_traits::template rebind_alloc>>>; - using traits_type = typename base_type::traits_type;; + using traits_type = entt_traits; template [[nodiscard]] auto &assure([[maybe_unused]] const id_type id = type_hash::value()) {