Browse Source

entity_traits: make page_size type explicit

Michele Caini 3 years ago
parent
commit
c2cae37c1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/entt/entity/entity.hpp

+ 1 - 1
src/entt/entity/entity.hpp

@@ -70,7 +70,7 @@ public:
     /*! @brief Underlying version type. */
     /*! @brief Underlying version type. */
     using version_type = typename base_type::version_type;
     using version_type = typename base_type::version_type;
     /*! @brief Page size, default is `ENTT_SPARSE_PAGE`. */
     /*! @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.
      * @brief Converts an entity to its underlying type.