aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/include')
-rw-r--r--arch/x86_64/include/arch/memory/heap/global_heap_allocator.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/include/arch/memory/heap/global_heap_allocator.hpp b/arch/x86_64/include/arch/memory/heap/global_heap_allocator.hpp
index 871f4f8..f391936 100644
--- a/arch/x86_64/include/arch/memory/heap/global_heap_allocator.hpp
+++ b/arch/x86_64/include/arch/memory/heap/global_heap_allocator.hpp
@@ -12,7 +12,7 @@ namespace teachos::arch::memory::heap
static auto deallocate(void * pointer, std::size_t size) -> void;
private:
- static linked_list_allocator allocator;
+ static auto get_underlying_allocator() -> linked_list_allocator &;
};
} // namespace teachos::arch::memory::heap