[apps] All apps are allocated in the same union

This commit is contained in:
Émilie Feral
2018-09-11 11:31:48 +02:00
parent 6d9f0c0f0b
commit 86b3d366ca
12 changed files with 15 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ extern "C" {
namespace HardwareTest {
App * App::Snapshot::unpack(Container * container) {
return new App(container, this);
return new (container->currentAppBuffer()) App(container, this);
}
App::Descriptor * App::Snapshot::descriptor() {