فهرست منبع

test: minor changes

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;