Browse Source

test: suppress warnings

Michele Caini 3 years ago
parent
commit
b808bb83b7
1 changed files with 1 additions and 1 deletions
  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});
     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), "");
     ASSERT_DEATH(pool.respect(other), "");
 }
 }