diff --git a/test/entt/entity/group.cpp b/test/entt/entity/group.cpp index 6bf3a6cff..35978583a 100644 --- a/test/entt/entity/group.cpp +++ b/test/entt/entity/group.cpp @@ -1491,7 +1491,7 @@ TEST(OwningGroup, SwapElements) { ASSERT_EQ(registry.storage().index(entity[0u]), 1u); ASSERT_EQ(registry.storage().index(entity[0u]), 1u); - const auto group = registry.group(entt::get); + registry.group(entt::get); ASSERT_EQ(registry.storage().index(entity[0u]), 0u); ASSERT_EQ(registry.storage().index(entity[0u]), 1u);