mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -30,7 +30,7 @@ public:
|
|||
u16 checksum() const { return m_checksum; }
|
||||
void set_checksum(u16 w) { m_checksum = w; }
|
||||
|
||||
const void* payload() const { return this + 1; }
|
||||
void const* payload() const { return this + 1; }
|
||||
void* payload() { return this + 1; }
|
||||
|
||||
private:
|
||||
|
@ -47,5 +47,5 @@ struct [[gnu::packed]] ICMPEchoPacket {
|
|||
NetworkOrdered<u16> identifier;
|
||||
NetworkOrdered<u16> sequence_number;
|
||||
void* payload() { return this + 1; }
|
||||
const void* payload() const { return this + 1; }
|
||||
void const* payload() const { return this + 1; }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue