Browse Source

test: suppress a warning

Michele Caini 5 years ago
parent
commit
3fcd82abad
1 changed files with 1 additions and 1 deletions
  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};
 };