sparse_set/storage: ::reset is now ::clear

This commit is contained in:
Michele Caini
2020-01-09 22:51:35 +01:00
parent 5904941361
commit 210eebc0dc
6 changed files with 11 additions and 11 deletions

View File

@@ -70,7 +70,7 @@ TEST(SparseSet, Functionalities) {
ASSERT_FALSE(other.empty());
ASSERT_EQ(other.index(entt::entity{42}), 0u);
other.reset();
other.clear();
ASSERT_TRUE(other.empty());
ASSERT_EQ(other.size(), 0u);