Procházet zdrojové kódy

test: avoid shadow warnings

Michele Caini před 2 roky
rodič
revize
c638cb38b9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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) {