mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +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
|
@ -87,7 +87,7 @@ Emulator::Emulator(const String& executable_path, const Vector<String>& argument
|
|||
static constexpr FlatPtr userspace_range_ceiling = 0xbe000000;
|
||||
#ifdef UE_ASLR
|
||||
static constexpr FlatPtr page_mask = 0xfffff000u;
|
||||
size_t random_offset = (AK::get_random<u8>() % 32 * MiB) & page_mask;
|
||||
size_t random_offset = (get_random<u8>() % 32 * MiB) & page_mask;
|
||||
FlatPtr base = userspace_range_base + random_offset;
|
||||
#else
|
||||
FlatPtr base = userspace_range_base;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue