diff --git a/test/entt/entity/group.cpp b/test/entt/entity/group.cpp index f73d64ff6..225253b8e 100644 --- a/test/entt/entity/group.cpp +++ b/test/entt/entity/group.cpp @@ -1467,10 +1467,10 @@ TEST(OwningGroup, PreventEarlyOptOut) { registry.emplace(entity, 2); // thanks to @pgruenbacher for pointing out this corner case - registry.group().each([entity](const auto entt, const auto &c, const auto &i) { + registry.group().each([entity](const auto entt, const auto &cv, const auto &iv) { ASSERT_EQ(entity, entt); - ASSERT_EQ(c, 'c'); - ASSERT_EQ(i, 2); + ASSERT_EQ(cv, 'c'); + ASSERT_EQ(iv, 2); }); }