From e3675d4d75c708f35f8041f493fde2fbfbea55b2 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Mon, 25 Mar 2024 22:20:01 +0100 Subject: Add stubs for memory scopes API --- deimos/core/allocator.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'deimos/core/allocator.cpp') diff --git a/deimos/core/allocator.cpp b/deimos/core/allocator.cpp index f7217c8..642afb8 100644 --- a/deimos/core/allocator.cpp +++ b/deimos/core/allocator.cpp @@ -43,6 +43,15 @@ public: { system = &m_system; } + + Allocator* CreateChild(Allocator* parent, const char* /* description */) override + { + return parent; + } + + void DestroyChild(Allocator*) override + { + } }; AllocatorApi* BootstrapAllocatorApi() -- cgit