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) {