test: use entt::to_integral instead of std::underlying_type_t for entity identifiers

This commit is contained in:
Michele Caini
2020-07-01 17:17:33 +02:00
parent 143eae0729
commit 804cfb7482
2 changed files with 2 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ TEST(SparseSet, Functionalities) {
TEST(SparseSet, Pagination) {
entt::sparse_set<entt::entity> set;
constexpr auto entt_per_page = ENTT_PAGE_SIZE / sizeof(std::underlying_type_t<entt::entity>);
constexpr auto entt_per_page = ENTT_PAGE_SIZE / sizeof(entt::entity);
ASSERT_EQ(set.extent(), 0);