Codechange: replace 'new (index) PoolItem(...' with 'PoolItem::CreateAtIndex(index, ...'

This commit is contained in:
Rubidium
2026-01-03 16:04:32 +01:00
committed by rubidium42
parent 2fcd4e189a
commit ee9e8ab9b2
25 changed files with 95 additions and 67 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ struct OBJSChunkHandler : ChunkHandler {
int index;
while ((index = SlIterateArray()) != -1) {
Object *o = new (ObjectID(index)) Object();
Object *o = Object::CreateAtIndex(ObjectID(index));
SlObject(o, slt);
}
}