فهرست منبع

test: suppress a warning

Michele Caini 5 سال پیش
والد
کامیت
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};
 };