test: cleanup

This commit is contained in:
Michele Caini
2023-10-23 11:33:50 +02:00
parent 5913829e21
commit f01dbd68f3
+2 -2
View File
@@ -33,10 +33,10 @@ struct StorageNoInstance: testing::Test {
static auto push_instance(entt::storage<type> &pool, const entt::entity entt) {
if constexpr(std::is_void_v<type>) {
return pool.entt::sparse_set::push(entt, nullptr);
return pool.push(entt, nullptr);
} else {
type instance{};
return pool.entt::sparse_set::push(entt, &instance);
return pool.push(entt, &instance);
}
}
};