diff --git a/test/snapshot/snapshot.cpp b/test/snapshot/snapshot.cpp index 34ad722c8..82238de5f 100644 --- a/test/snapshot/snapshot.cpp +++ b/test/snapshot/snapshot.cpp @@ -117,8 +117,8 @@ TEST(Snapshot, Continuous) { entity.push_back(source.create()); } - for(auto entity: entity) { - source.destroy(entity); + for(auto entt: entity) { + source.destroy(entt); } auto e0 = source.create();