summaryrefslogtreecommitdiff
path: root/Libraries/LibCore/CLocalSocket.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-21 10:28:02 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-21 15:25:08 +0200
commitc83da29a9d332236ea67ac88f5ab5839657f958f (patch)
treea2f3ce29ea2518e5a623a1e1ac9e7a29511af199 /Libraries/LibCore/CLocalSocket.h
parent4298ba25c3b9909781cebc4719af82056591572b (diff)
downloadserenity-c83da29a9d332236ea67ac88f5ab5839657f958f.zip
LibCore: Convert CLocalSocket to ObjectPtr
Diffstat (limited to 'Libraries/LibCore/CLocalSocket.h')
-rw-r--r--Libraries/LibCore/CLocalSocket.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Libraries/LibCore/CLocalSocket.h b/Libraries/LibCore/CLocalSocket.h
index 0c2f4a5f89..74538309a7 100644
--- a/Libraries/LibCore/CLocalSocket.h
+++ b/Libraries/LibCore/CLocalSocket.h
@@ -8,7 +8,9 @@ class CLocalServer;
class CLocalSocket final : public CSocket {
C_OBJECT(CLocalSocket)
public:
- explicit CLocalSocket(CObject* parent = nullptr);
- CLocalSocket(Badge<CLocalServer>, int fd, CObject* parent = nullptr);
virtual ~CLocalSocket() override;
+
+private:
+ explicit CLocalSocket(CObject* parent = nullptr);
+ CLocalSocket(int fd, CObject* parent = nullptr);
};