Explorar o código

test: avoid shadow warnings

skypjack %!s(int64=2) %!d(string=hai) anos
pai
achega
e10d2cb37e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      test/snapshot/snapshot.cpp

+ 2 - 2
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();