mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +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
|
void RangeAllocator::dump() const
|
||||||
{
|
{
|
||||||
VERIFY(m_lock.is_locked());
|
VERIFY(m_lock.is_locked());
|
||||||
|
|
|
@ -16,7 +16,7 @@ namespace Kernel {
|
||||||
class RangeAllocator {
|
class RangeAllocator {
|
||||||
public:
|
public:
|
||||||
RangeAllocator();
|
RangeAllocator();
|
||||||
~RangeAllocator();
|
~RangeAllocator() = default;
|
||||||
|
|
||||||
void initialize_with_range(VirtualAddress, size_t);
|
void initialize_with_range(VirtualAddress, size_t);
|
||||||
void initialize_from_parent(RangeAllocator const&);
|
void initialize_from_parent(RangeAllocator const&);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue