This commit is contained in:
Michele Caini
2019-09-12 23:01:49 +02:00
parent 49f69facaf
commit c259c79384

View File

@@ -696,7 +696,7 @@ public:
if(auto &pdata = pools[pos-1]; pdata.pool && pdata.pool->has(entity)) {
pdata.remove(*pdata.pool, *this, entity);
}
};
}
// just a way to protect users from listeners that attach components
ENTT_ASSERT(orphan(entity));