1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:08:13 +00:00

Meta+LibC through LibHTTP: Make clang-format-10 clean

Why break at LibHTTP? Because "Meta+Libraries" would be insanely large,
and breaking between LibHTTP and LibJS makes the commits roughly evenly large.
This commit is contained in:
Ben Wiederhake 2020-09-18 09:49:51 +02:00 committed by Andreas Kling
parent 64cc3f51d0
commit ede5dbd7b3
58 changed files with 87 additions and 89 deletions

View file

@ -34,7 +34,7 @@ namespace Crypto::Checksum {
class Adler32 : public ChecksumFunction<u32> {
public:
Adler32() {}
Adler32() { }
Adler32(ReadonlyBytes data)
{
update(data);

View file

@ -54,7 +54,8 @@ struct Table {
}
}
constexpr u32 operator[](int index) const {
constexpr u32 operator[](int index) const
{
return data[index];
}
};
@ -63,7 +64,7 @@ constexpr static auto table = Table();
class CRC32 : public ChecksumFunction<u32> {
public:
CRC32() {}
CRC32() { }
CRC32(ReadonlyBytes data)
{
update(data);