Explorar o código

test: suppress warnings

Michele Caini %!s(int64=3) %!d(string=hai) anos
pai
achega
b808bb83b7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/entt/entity/storage_entity.cpp

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

@@ -376,7 +376,7 @@ ENTT_DEBUG_TEST(StorageEntityDeathTest, SortAndRespect) {
 
     other.push(entt::entity{2});
 
-    ASSERT_DEATH(pool.sort([&pool](auto...) { return true; }), "");
+    ASSERT_DEATH(pool.sort([](auto...) { return true; }), "");
     ASSERT_DEATH(pool.respect(other), "");
 }