1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:17:44 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -33,7 +33,7 @@ void RangeAllocator::dump() const
}
}
void RangeAllocator::carve_at_index(int index, const Range& range)
void RangeAllocator::carve_at_index(int index, Range const& range)
{
auto remaining_parts = m_available_ranges[index].carve(range);
VERIFY(remaining_parts.size() >= 1);
@ -142,7 +142,7 @@ Optional<Range> RangeAllocator::allocate_specific(VirtualAddress base, size_t si
return {};
}
void RangeAllocator::deallocate(const Range& range)
void RangeAllocator::deallocate(Range const& range)
{
VERIFY(m_total_range.contains(range));
VERIFY(range.size());