mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:47:45 +00:00
Kernel: TCPSocket always has a scratch buffer
Let's encode this in the constructor signature.
This commit is contained in:
parent
308773ffda
commit
c69035c630
2 changed files with 3 additions and 3 deletions
|
@ -165,7 +165,7 @@ protected:
|
|||
void set_direction(Direction direction) { m_direction = direction; }
|
||||
|
||||
private:
|
||||
explicit TCPSocket(int protocol, NonnullOwnPtr<DoubleBuffer> receive_buffer, OwnPtr<KBuffer> scratch_buffer);
|
||||
explicit TCPSocket(int protocol, NonnullOwnPtr<DoubleBuffer> receive_buffer, NonnullOwnPtr<KBuffer> scratch_buffer);
|
||||
virtual StringView class_name() const override { return "TCPSocket"; }
|
||||
|
||||
virtual void shut_down_for_writing() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue