diff --git a/test/entt/entity/group.cpp b/test/entt/entity/group.cpp index d7e058646..10ae23f75 100644 --- a/test/entt/entity/group.cpp +++ b/test/entt/entity/group.cpp @@ -399,9 +399,9 @@ TEST(NonOwningGroup, ConstNonConstAndAllInBetween) { testing::StaticAssertTypeEq)), decltype(std::as_const(registry).group_if_exists(entt::get))>(); testing::StaticAssertTypeEq)), decltype(std::as_const(registry).group_if_exists(entt::get))>(); - group.each([](auto &&i, auto &&c) { - testing::StaticAssertTypeEq(); - testing::StaticAssertTypeEq(); + group.each([](auto &&iv, auto &&cv) { + testing::StaticAssertTypeEq(); + testing::StaticAssertTypeEq(); }); for([[maybe_unused]] auto [entt, iv, cv]: group.each()) { @@ -1205,11 +1205,11 @@ TEST(OwningGroup, ConstNonConstAndAllInBetween) { testing::StaticAssertTypeEq(entt::get)), decltype(std::as_const(registry).group_if_exists(entt::get))>(); testing::StaticAssertTypeEq(entt::get)), decltype(std::as_const(registry).group_if_exists(entt::get))>(); - group.each([](auto &&i, auto &&c, auto &&d, auto &&f) { - testing::StaticAssertTypeEq(); - testing::StaticAssertTypeEq(); - testing::StaticAssertTypeEq(); - testing::StaticAssertTypeEq(); + group.each([](auto &&iv, auto &&cv, auto &&dv, auto &&fv) { + testing::StaticAssertTypeEq(); + testing::StaticAssertTypeEq(); + testing::StaticAssertTypeEq(); + testing::StaticAssertTypeEq(); }); for([[maybe_unused]] auto [entt, iv, cv, dv, fv]: group.each()) {