mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 17:37:35 +00:00
Everywhere: Remove a bunch of redundant 'AK::' namespace prefixes
This is basically just for consistency, it's quite strange to see multiple AK container types next to each other, some with and some without the namespace prefix - we're 'using AK::Foo;' a lot and should leverage that. :^)
This commit is contained in:
parent
be9df404fd
commit
e265054c12
73 changed files with 111 additions and 110 deletions
|
@ -81,7 +81,7 @@ Optional<Range> RangeAllocator::allocate_randomized(size_t size, size_t alignmen
|
|||
// FIXME: I'm sure there's a smarter way to do this.
|
||||
static constexpr size_t maximum_randomization_attempts = 1000;
|
||||
for (size_t i = 0; i < maximum_randomization_attempts; ++i) {
|
||||
VirtualAddress random_address { AK::get_random<FlatPtr>() };
|
||||
VirtualAddress random_address { get_random<FlatPtr>() };
|
||||
random_address.mask(PAGE_MASK);
|
||||
|
||||
if (!m_total_range.contains(random_address, size))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue