diff options
Diffstat (limited to 'Kernel/VM/ContiguousVMObject.cpp')
-rw-r--r-- | Kernel/VM/ContiguousVMObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/VM/ContiguousVMObject.cpp b/Kernel/VM/ContiguousVMObject.cpp index 243314c87e..2550cec829 100644 --- a/Kernel/VM/ContiguousVMObject.cpp +++ b/Kernel/VM/ContiguousVMObject.cpp @@ -12,7 +12,7 @@ namespace Kernel { NonnullRefPtr<ContiguousVMObject> ContiguousVMObject::create_with_size(size_t size, size_t physical_alignment) { - return adopt(*new ContiguousVMObject(size, physical_alignment)); + return adopt_ref(*new ContiguousVMObject(size, physical_alignment)); } ContiguousVMObject::ContiguousVMObject(size_t size, size_t physical_alignment) |