entity_traits: make page_size type explicit

This commit is contained in:
Michele Caini
2022-11-25 18:24:12 +01:00
parent 1026d26ecb
commit c2cae37c1d

View File

@@ -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.