[apps] Apps are not allocated on the heap anymore but in a union hold by

the AppsContainerStorage
This commit is contained in:
Émilie Feral
2018-09-05 18:05:41 +02:00
parent ea948117a4
commit 9182d66fcc
16 changed files with 45 additions and 30 deletions

View File

@@ -27,7 +27,7 @@ App::Snapshot::Snapshot() :
}
App * App::Snapshot::unpack(Container * container) {
return new App(container, this);
return new (container->currentAppBuffer()) App(container, this);
}
void App::Snapshot::reset() {