diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-03-25 22:20:01 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-03-25 22:20:01 +0100 |
commit | e3675d4d75c708f35f8041f493fde2fbfbea55b2 (patch) | |
tree | e24c1ae14c6a77939c47bc7649086d94d9a0890f /deimos/core/allocator.cpp | |
parent | 5606b4c399404c0b8f745c6702d70f26eff8b371 (diff) |
Add stubs for memory scopes API
Diffstat (limited to 'deimos/core/allocator.cpp')
-rw-r--r-- | deimos/core/allocator.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
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()
|