From e10d2cb37e223896c8d7cf0026824795a2933b4a Mon Sep 17 00:00:00 2001 From: skypjack Date: Sat, 15 Jul 2023 12:22:58 +0200 Subject: [PATCH] test: avoid shadow warnings --- test/snapshot/snapshot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();