This commit is contained in:
Michele Caini
2019-03-12 15:08:53 +01:00
parent f0650bf64f
commit 4eaf6415b7

View File

@@ -652,7 +652,7 @@ public:
auto &pdata = pools[pos-1];
if(pdata.pool) {
std::for_each(first, last, [&pdata, this](const auto entity) {
std::for_each(first, last, [&pdata](const auto entity) {
if(pdata.pool->has(entity)) {
pdata.pool->destroy(entity);
}