1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:07:34 +00:00

Kernel: Accept NNRP<Socket> instead of RP<Socket> in release_for_accept

This value is always non-null, so let's make it explicit.
This commit is contained in:
Idan Horowitz 2022-04-09 22:25:39 +03:00 committed by Andreas Kling
parent 472a3df03b
commit 4a270c93ed
2 changed files with 4 additions and 4 deletions

View file

@ -154,7 +154,7 @@ public:
void set_originator(TCPSocket& originator) { m_originator = originator; }
bool has_originator() { return !!m_originator; }
void release_to_originator();
void release_for_accept(RefPtr<TCPSocket>);
void release_for_accept(NonnullRefPtr<TCPSocket>);
void retransmit_packets();