mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:07:36 +00:00
Kernel: Declare VM/RangeAllocator trivial destructor as default
This is a clang tidy recommendation.
This commit is contained in:
parent
24bd664980
commit
eb282ad410
2 changed files with 1 additions and 5 deletions
|
@ -33,10 +33,6 @@ void RangeAllocator::initialize_from_parent(RangeAllocator const& parent_allocat
|
|||
}
|
||||
}
|
||||
|
||||
RangeAllocator::~RangeAllocator()
|
||||
{
|
||||
}
|
||||
|
||||
void RangeAllocator::dump() const
|
||||
{
|
||||
VERIFY(m_lock.is_locked());
|
||||
|
|
|
@ -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&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue