Skip to content

Commit

Permalink
test: avoid shadow warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Jul 13, 2023
1 parent 7e8daf9 commit 1e5e8f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/entt/entity/registry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1e5e8f1

Please sign in to comment.