Explorar el Código

test: suppress warnings due to unused variables

Michele Caini hace 3 años
padre
commit
f76959af63
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();