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:
parent
472a3df03b
commit
4a270c93ed
2 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue