mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
Kernel: Make TCPSocket::for_each() callback accept a reference
Yay for less arrows!
This commit is contained in:
parent
84a54c7cf7
commit
d06f4291a8
3 changed files with 14 additions and 14 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
class TCPSocket final : public IPv4Socket {
|
||||
public:
|
||||
static void for_each(Function<void(TCPSocket*&)>);
|
||||
static void for_each(Function<void(TCPSocket&)>);
|
||||
static NonnullRefPtr<TCPSocket> create(int protocol);
|
||||
virtual ~TCPSocket() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue