AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.

This commit is contained in:
Andreas Kling 2019-06-21 18:37:47 +02:00
commit 90b1354688
Notes: sideshowbarker 2024-07-19 13:32:18 +09:00
188 changed files with 562 additions and 562 deletions

View file

@ -6,7 +6,7 @@
#include <Kernel/UnixTypes.h>
#include <LibC/errno_numbers.h>
KResultOr<Retained<Socket>> Socket::create(int domain, int type, int protocol)
KResultOr<NonnullRefPtr<Socket>> Socket::create(int domain, int type, int protocol)
{
(void)protocol;
switch (domain) {
@ -41,7 +41,7 @@ KResult Socket::listen(int backlog)
return KSuccess;
}
RetainPtr<Socket> Socket::accept()
RefPtr<Socket> Socket::accept()
{
LOCKER(m_lock);
if (m_pending.is_empty())