Просмотр исходного кода

test: suppress warnings due to unused variables

Michele Caini 3 лет назад
Родитель
Сommit
f76959af63
1 измененных файлов с 1 добавлено и 1 удалено
  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();