registry: rename ::has to ::all_of

This commit is contained in:
Michele Caini
2021-02-04 09:36:28 +01:00
parent 1912350cc6
commit 240814cc85
13 changed files with 70 additions and 70 deletions

View File

@@ -37,7 +37,7 @@ TEST(Example, CustomIdentifier) {
ASSERT_TRUE(registry.valid(entity));
ASSERT_TRUE(entity != entt::null);
ASSERT_FALSE((registry.has<int, char>(entity)));
ASSERT_FALSE((registry.all_of<int, char>(entity)));
ASSERT_EQ(registry.try_get<int>(entity), nullptr);
registry.emplace<int>(entity, 42);