test: avoid shadow warnings

This commit is contained in:
Michele Caini
2023-07-13 16:27:34 +02:00
parent d255ecf0f9
commit c638cb38b9

View File

@@ -641,7 +641,7 @@ ENTT_DEBUG_TEST(RegistryDeathTest, CreateTooManyEntities) {
std::vector<small_entity> entity(entt::entt_traits<small_entity>::to_entity(entt::null));
registry.create(entity.begin(), entity.end());
ASSERT_DEATH([[maybe_unused]] const auto entity = registry.create(), "");
ASSERT_DEATH([[maybe_unused]] const auto entt = registry.create(), "");
}
TEST(Registry, DestroyVersion) {