From c2cae37c1d0ac506e90d5cb5b33d89bc928c410a Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Fri, 25 Nov 2022 18:24:12 +0100 Subject: [PATCH] entity_traits: make page_size type explicit --- src/entt/entity/entity.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entt/entity/entity.hpp b/src/entt/entity/entity.hpp index 0de81362e..bd8aa5ce9 100644 --- a/src/entt/entity/entity.hpp +++ b/src/entt/entity/entity.hpp @@ -70,7 +70,7 @@ public: /*! @brief Underlying version type. */ using version_type = typename base_type::version_type; /*! @brief Page size, default is `ENTT_SPARSE_PAGE`. */ - static constexpr auto page_size = ENTT_SPARSE_PAGE; + static constexpr std::size_t page_size = ENTT_SPARSE_PAGE; /** * @brief Converts an entity to its underlying type.