mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:37:43 +00:00
AK: Rename Vector::append(Vector) => Vector::extend(Vector)
Let's make it a bit more clear when we're appending the elements from one vector to the end of another vector.
This commit is contained in:
parent
7e1bffdeb8
commit
dc65f54c06
37 changed files with 103 additions and 104 deletions
|
@ -119,7 +119,7 @@ KResult Space::unmap_mmap_range(VirtualAddress addr, size_t size)
|
|||
region->unmap(Region::ShouldDeallocateVirtualMemoryRange::No);
|
||||
|
||||
// Otherwise just split the regions and collect them for future mapping
|
||||
if (new_regions.try_append(split_region_around_range(*region, range_to_unmap)))
|
||||
if (new_regions.try_extend(split_region_around_range(*region, range_to_unmap)))
|
||||
return ENOMEM;
|
||||
}
|
||||
// Instead we give back the unwanted VM manually at the end.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue