Selaa lähdekoodia

test: avoid shadow warnings

Michele Caini 2 vuotta sitten
vanhempi
commit
c638cb38b9
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      test/entt/entity/registry.cpp

+ 1 - 1
test/entt/entity/registry.cpp

@@ -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) {