1
0
Michele Caini 3 жил өмнө
parent
commit
b808bb83b7

+ 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), "");
 }