Skip to content

Commit f2c4174

Browse files
committed
test: another couple of changes to make all compilers happy :)
1 parent 48c374b commit f2c4174

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/entt/entity/entity.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ TYPED_TEST(Entity, Traits) {
6464

6565
ASSERT_NE(reserved, entity);
6666

67-
ASSERT_NE(traits_type::to_integral(null), ~traits_type::entity_type{});
68-
ASSERT_NE(traits_type::to_integral(tombstone), ~traits_type::entity_type{});
67+
ASSERT_NE(traits_type::to_integral(null), ~typename traits_type::entity_type{});
68+
ASSERT_NE(traits_type::to_integral(tombstone), ~typename traits_type::entity_type{});
6969

7070
ASSERT_EQ(traits_type::to_entity(reserved), traits_type::to_entity(entity));
7171
ASSERT_EQ(traits_type::to_version(reserved), traits_type::to_version(entity));

0 commit comments

Comments
 (0)