Explorar el Código

test: cleanup

Michele Caini hace 3 años
padre
commit
4272d954ea
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      test/entt/entity/registry.cpp

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

@@ -918,7 +918,7 @@ TEST(Registry, ExcludeOnlyView) {
     ASSERT_EQ(std::distance(view.begin(), view.end()), 2);
 
     // skips available identifiers automatically, only returns in-use elements
-    view.each([&entities](auto entity, auto &&...) {
+    view.each([&entities](auto entity) {
         ASSERT_EQ(entity, entities[1u]);
     });
 }