File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ TYPED_TEST(Entity, Traits) {
58
58
ASSERT_EQ (traits_type::next (entt::tombstone), traits_type::construct (entt::null, {}));
59
59
ASSERT_EQ (traits_type::next (entt::null), traits_type::construct (entt::null, {}));
60
60
61
- if constexpr (traits_type::to_integral (tombstone) != ~traits_type::entity_type{}) {
61
+ if constexpr (traits_type::to_integral (tombstone) != ~typename traits_type::entity_type{}) {
62
62
// test reserved bits, if any
63
63
constexpr entity_type reserved{traits_type::to_integral (entity) | (traits_type::to_integral (tombstone) + 1u )};
64
64
Original file line number Diff line number Diff line change @@ -766,7 +766,7 @@ TYPED_TEST(SparseSet, Contains) {
766
766
ASSERT_FALSE (set.contains (entity));
767
767
ASSERT_FALSE (set.contains (other));
768
768
769
- if constexpr (traits_type::to_integral (entt::tombstone) != ~traits_type::entity_type{}) {
769
+ if constexpr (traits_type::to_integral (entt::tombstone) != ~typename traits_type::entity_type{}) {
770
770
// test reserved bits, if any
771
771
constexpr entity_type reserved{traits_type::to_integral (entity) | (traits_type::to_integral (entt::tombstone) + 1u )};
772
772
You can’t perform that action at this time.
0 commit comments