From f2c417435c021b6bd2e426ffd9d1fc116b804146 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Thu, 30 Nov 2023 15:19:51 +0100 Subject: [PATCH] test: another couple of changes to make all compilers happy :) --- test/entt/entity/entity.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/entt/entity/entity.cpp b/test/entt/entity/entity.cpp index fa39c674e..c0d3ad762 100644 --- a/test/entt/entity/entity.cpp +++ b/test/entt/entity/entity.cpp @@ -64,8 +64,8 @@ TYPED_TEST(Entity, Traits) { ASSERT_NE(reserved, entity); - ASSERT_NE(traits_type::to_integral(null), ~traits_type::entity_type{}); - ASSERT_NE(traits_type::to_integral(tombstone), ~traits_type::entity_type{}); + ASSERT_NE(traits_type::to_integral(null), ~typename traits_type::entity_type{}); + ASSERT_NE(traits_type::to_integral(tombstone), ~typename traits_type::entity_type{}); ASSERT_EQ(traits_type::to_entity(reserved), traits_type::to_entity(entity)); ASSERT_EQ(traits_type::to_version(reserved), traits_type::to_version(entity));