Bläddra i källkod

test: another couple of changes to make all compilers happy :)

Michele Caini 2 år sedan
förälder
incheckning
f2c417435c
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      test/entt/entity/entity.cpp

+ 2 - 2
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));