diff --git a/Kernel/VM/RangeAllocator.cpp b/Kernel/VM/RangeAllocator.cpp index 5497bdc669..29d9350483 100644 --- a/Kernel/VM/RangeAllocator.cpp +++ b/Kernel/VM/RangeAllocator.cpp @@ -33,10 +33,6 @@ void RangeAllocator::initialize_from_parent(RangeAllocator const& parent_allocat } } -RangeAllocator::~RangeAllocator() -{ -} - void RangeAllocator::dump() const { VERIFY(m_lock.is_locked()); diff --git a/Kernel/VM/RangeAllocator.h b/Kernel/VM/RangeAllocator.h index 04901d10e7..c7e2962f2b 100644 --- a/Kernel/VM/RangeAllocator.h +++ b/Kernel/VM/RangeAllocator.h @@ -16,7 +16,7 @@ namespace Kernel { class RangeAllocator { public: RangeAllocator(); - ~RangeAllocator(); + ~RangeAllocator() = default; void initialize_with_range(VirtualAddress, size_t); void initialize_from_parent(RangeAllocator const&);