summaryrefslogtreecommitdiff
path: root/Kernel/Net/LocalSocket.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-03-10 07:53:02 +0100
committerAndreas Kling <kling@serenityos.org>2023-03-10 13:15:44 +0100
commit03cc45e5a2ecc5d173aa121404d7ed8251c109f8 (patch)
tree7737b1bdd4ccbf03012d7ae5e20d99073ed5da1c /Kernel/Net/LocalSocket.h
parent61bb9103c28ac053a52b00fa5e7235ab315444b5 (diff)
downloadserenity-03cc45e5a2ecc5d173aa121404d7ed8251c109f8.zip
Kernel: Use RefPtr instead of LockRefPtr for File and subclasses
This was mostly straightforward, as all the storage locations are guarded by some related mutex. The use of old-school associated mutexes instead of MutexProtected is unfortunate, but the process to modernize such code is ongoing.
Diffstat (limited to 'Kernel/Net/LocalSocket.h')
-rw-r--r--Kernel/Net/LocalSocket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/LocalSocket.h b/Kernel/Net/LocalSocket.h
index 5668b30f25..25d1716122 100644
--- a/Kernel/Net/LocalSocket.h
+++ b/Kernel/Net/LocalSocket.h
@@ -22,7 +22,7 @@ struct SocketPair {
class LocalSocket final : public Socket {
public:
- static ErrorOr<NonnullLockRefPtr<LocalSocket>> try_create(int type);
+ static ErrorOr<NonnullRefPtr<LocalSocket>> try_create(int type);
static ErrorOr<SocketPair> try_create_connected_pair(int type);
virtual ~LocalSocket() override;