Jelajahi Sumber

test: cleanup

Michele Caini 2 tahun lalu
induk
melakukan
f01dbd68f3
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      test/entt/entity/storage_no_instance.cpp

+ 2 - 2
test/entt/entity/storage_no_instance.cpp

@@ -33,10 +33,10 @@ struct StorageNoInstance: testing::Test {
 
 
     static auto push_instance(entt::storage<type> &pool, const entt::entity entt) {
     static auto push_instance(entt::storage<type> &pool, const entt::entity entt) {
         if constexpr(std::is_void_v<type>) {
         if constexpr(std::is_void_v<type>) {
-            return pool.entt::sparse_set::push(entt, nullptr);
+            return pool.push(entt, nullptr);
         } else {
         } else {
             type instance{};
             type instance{};
-            return pool.entt::sparse_set::push(entt, &instance);
+            return pool.push(entt, &instance);
         }
         }
     }
     }
 };
 };