1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 10:37:34 +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

@ -21,7 +21,7 @@ constexpr unsigned int_hash(u32 key)
constexpr unsigned double_hash(u32 key)
{
const unsigned magic = 0xBA5EDB01;
unsigned const magic = 0xBA5EDB01;
if (key == magic)
return 0u;
if (key == 0u)
@ -53,7 +53,7 @@ constexpr unsigned ptr_hash(FlatPtr ptr)
return int_hash(ptr);
}
inline unsigned ptr_hash(const void* ptr)
inline unsigned ptr_hash(void const* ptr)
{
return ptr_hash(FlatPtr(ptr));
}