Michele Caini пре 1 година
родитељ
комит
8837c7cc1f
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      test/entt/entity/registry.cpp

+ 2 - 1
test/entt/entity/registry.cpp

@@ -739,7 +739,8 @@ TEST(Registry, CreateClearCycle) {
     using traits_type = entt::entt_traits<entt::entity>;
 
     entt::registry registry{};
-    entt::entity pre{}, post{};
+    entt::entity pre = entt::null;
+    entt::entity post = entt::null;
 
     const std::size_t first_iteration = 10u;
     const std::size_t second_iteration = 7u;