From f76959af63aecfb37e8f4fd493c3be4eaa908f8e Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Tue, 21 Jun 2022 14:24:49 +0200 Subject: [PATCH] test: suppress warnings due to unused variables --- test/entt/entity/handle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/entt/entity/handle.cpp b/test/entt/entity/handle.cpp index c9ada8951..8cbf5dc7d 100644 --- a/test/entt/entity/handle.cpp +++ b/test/entt/entity/handle.cpp @@ -276,7 +276,7 @@ TEST(BasicHandle, HandleStorageIterator) { registry.emplace(entity); registry.emplace(entity); - auto test = [entity](auto iterable) { + auto test = [](auto iterable) { auto end{iterable.begin()}; decltype(end) begin{}; begin = iterable.end();