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