Ver Fonte

test: suppress warnings due to unused variables

Michele Caini há 3 anos atrás
pai
commit
f76959af63
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      test/entt/entity/handle.cpp

+ 1 - 1
test/entt/entity/handle.cpp

@@ -276,7 +276,7 @@ TEST(BasicHandle, HandleStorageIterator) {
     registry.emplace<int>(entity);
     registry.emplace<double>(entity);
 
-    auto test = [entity](auto iterable) {
+    auto test = [](auto iterable) {
         auto end{iterable.begin()};
         decltype(end) begin{};
         begin = iterable.end();