diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2019-08-09 13:26:29 +0300 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-08-09 13:15:59 +0200 |
commit | d06f4291a8a86224150eb8e93ef9eaf39186dce6 (patch) | |
tree | 00f40b95937dd593dfeecc4e4829d6a9a4fdab29 /Kernel/Net/TCPSocket.h | |
parent | 84a54c7cf70c9b2bfc47c529120dd089ad3d4a65 (diff) | |
download | serenity-d06f4291a8a86224150eb8e93ef9eaf39186dce6.zip |
Kernel: Make TCPSocket::for_each() callback accept a reference
Yay for less arrows!
Diffstat (limited to 'Kernel/Net/TCPSocket.h')
-rw-r--r-- | Kernel/Net/TCPSocket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/TCPSocket.h b/Kernel/Net/TCPSocket.h index e43fa603a9..09fdfb1984 100644 --- a/Kernel/Net/TCPSocket.h +++ b/Kernel/Net/TCPSocket.h @@ -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; |