From 34f73f8a2b60354b4268c2a5f790fc5677dbe467 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Tue, 30 Nov 2021 11:23:15 +0100 Subject: [PATCH] registry: added base_type member type --- src/entt/entity/registry.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/entt/entity/registry.hpp b/src/entt/entity/registry.hpp index a949e2681..7ddfc24eb 100644 --- a/src/entt/entity/registry.hpp +++ b/src/entt/entity/registry.hpp @@ -144,6 +144,8 @@ public: using version_type = typename entity_traits::version_type; /*! @brief Unsigned integer type. */ using size_type = std::size_t; + /*! @brief Common type among all storage types. */ + using base_type = basic_common_type; /** * @brief Storage type associated with a given component.