summaryrefslogtreecommitdiff
path: root/Kernel/Net/LocalSocket.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-21 18:37:47 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-21 18:37:47 +0200
commit90b1354688e988ba1311a5645f631d353fa7ff80 (patch)
tree5619e16c34d3f2f9142c270e2a906614a6d598a6 /Kernel/Net/LocalSocket.h
parent77b9fa89dd36fcd56d956667a956ef7f2ee8f963 (diff)
downloadserenity-90b1354688e988ba1311a5645f631d353fa7ff80.zip
AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.
Diffstat (limited to 'Kernel/Net/LocalSocket.h')
-rw-r--r--Kernel/Net/LocalSocket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Net/LocalSocket.h b/Kernel/Net/LocalSocket.h
index f1ac23719b..4d348e8435 100644
--- a/Kernel/Net/LocalSocket.h
+++ b/Kernel/Net/LocalSocket.h
@@ -7,7 +7,7 @@ class FileDescription;
class LocalSocket final : public Socket {
public:
- static Retained<LocalSocket> create(int type);
+ static NonnullRefPtr<LocalSocket> create(int type);
virtual ~LocalSocket() override;
virtual KResult bind(const sockaddr*, socklen_t) override;
@@ -28,7 +28,7 @@ private:
virtual bool is_local() const override { return true; }
bool has_attached_peer(const FileDescription&) const;
- RetainPtr<FileDescription> m_file;
+ RefPtr<FileDescription> m_file;
bool m_bound { false };
int m_accepted_fds_open { 0 };