Browse Source

test: minor changes

Michele Caini 1 year ago
parent
commit
8837c7cc1f
1 changed files with 2 additions and 1 deletions
  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>;
     using traits_type = entt::entt_traits<entt::entity>;
 
 
     entt::registry registry{};
     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 first_iteration = 10u;
     const std::size_t second_iteration = 7u;
     const std::size_t second_iteration = 7u;