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/api_registry.cpp | |
parent | 5606b4c399404c0b8f745c6702d70f26eff8b371 (diff) |
Add stubs for memory scopes API
Diffstat (limited to 'deimos/core/api_registry.cpp')
-rw-r--r-- | deimos/core/api_registry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deimos/core/api_registry.cpp b/deimos/core/api_registry.cpp index a070473..873d72d 100644 --- a/deimos/core/api_registry.cpp +++ b/deimos/core/api_registry.cpp @@ -40,7 +40,7 @@ ApiRegistry* InitializeGlobalApiRegistry() {
g_allocator_api = BootstrapAllocatorApi();
- Allocator* allocator = g_allocator_api->system;
+ Allocator* allocator = g_allocator_api->CreateChild(g_allocator_api->system, "API Registry");
ApiRegistry* api_registry = allocator->New<ApiRegistryImpl>(allocator);
api_registry->Set(g_allocator_api);
|