mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.
This commit is contained in:
parent
77b9fa89dd
commit
90b1354688
188 changed files with 562 additions and 562 deletions
|
@ -15,7 +15,7 @@ Lockable<HashMap<word, TCPSocket*>>& TCPSocket::sockets_by_port()
|
|||
|
||||
TCPSocketHandle TCPSocket::from_port(word port)
|
||||
{
|
||||
RetainPtr<TCPSocket> socket;
|
||||
RefPtr<TCPSocket> socket;
|
||||
{
|
||||
LOCKER(sockets_by_port().lock());
|
||||
auto it = sockets_by_port().resource().find(port);
|
||||
|
@ -38,7 +38,7 @@ TCPSocket::~TCPSocket()
|
|||
sockets_by_port().resource().remove(local_port());
|
||||
}
|
||||
|
||||
Retained<TCPSocket> TCPSocket::create(int protocol)
|
||||
NonnullRefPtr<TCPSocket> TCPSocket::create(int protocol)
|
||||
{
|
||||
return adopt(*new TCPSocket(protocol));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue