Michele Caini 5 лет назад
Родитель
Сommit
3fcd82abad
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      test/entt/entity/registry.cpp

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

@@ -38,7 +38,7 @@ struct listener {
         --counter;
     }
 
-    entt::entity last;
+    entt::entity last{entt::null};
     int counter{0};
 };