소스 검색

test: avoid shadow warnings

skypjack 3 년 전
부모
커밋
e10d2cb37e
1개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
  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();