Bläddra i källkod

test: suppress a warning

Michele Caini 6 år sedan
förälder
incheckning
3fcd82abad
1 ändrade filer med 1 tillägg och 1 borttagningar
  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};
 };