From dec3b7bb397b4876ea2ee08ab07c51bf3d290751 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Mon, 7 Nov 2022 14:44:51 +0100 Subject: [PATCH] test: suppress warnings --- test/entt/entity/snapshot.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/entt/entity/snapshot.cpp b/test/entt/entity/snapshot.cpp index 3a6f1c875..9cf79bedd 100644 --- a/test/entt/entity/snapshot.cpp +++ b/test/entt/entity/snapshot.cpp @@ -70,19 +70,19 @@ private: struct a_component {}; struct another_component { - int key; - int value; + int key{}; + int value{}; }; struct what_a_component { - entt::entity bar; - std::vector quux; + entt::entity bar{}; + std::vector quux{}; }; struct map_component { - std::map keys; - std::map values; - std::map both; + std::map keys{}; + std::map values{}; + std::map both{}; }; TEST(Snapshot, Dump) {