Skip to content

Commit

Permalink
test: another couple of changes to make all compilers happy :)
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Nov 30, 2023
1 parent 48c374b commit f2c4174
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/entt/entity/entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit f2c4174

Please sign in to comment.