1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:17:35 +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

@ -46,11 +46,11 @@ public:
inline void append(u16 value)
{
value = AK::convert_between_host_and_network_endian(value);
append((const u8*)&value, sizeof(value));
append((u8 const*)&value, sizeof(value));
}
inline void append(u8 value)
{
append((const u8*)&value, sizeof(value));
append((u8 const*)&value, sizeof(value));
}
inline void append(ReadonlyBytes data)
{
@ -67,7 +67,7 @@ public:
append(buf, 3);
}
inline void append(const u8* data, size_t bytes)
inline void append(u8 const* data, size_t bytes)
{
if (bytes == 0)
return;