瀏覽代碼

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};
 };