Ver Fonte

test: suppress warnings

Michele Caini há 3 anos atrás
pai
commit
b808bb83b7
1 ficheiros alterados com 1 adições e 1 exclusões
  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), "");
 }