summaryrefslogtreecommitdiff
path: root/Libraries/LibCore/CLocalServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibCore/CLocalServer.h')
-rw-r--r--Libraries/LibCore/CLocalServer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibCore/CLocalServer.h b/Libraries/LibCore/CLocalServer.h
index f16e95682c..0af430c66a 100644
--- a/Libraries/LibCore/CLocalServer.h
+++ b/Libraries/LibCore/CLocalServer.h
@@ -14,7 +14,7 @@ public:
bool is_listening() const { return m_listening; }
bool listen(const String& address);
- CLocalSocket* accept();
+ ObjectPtr<CLocalSocket> accept();
Function<void()> on_ready_to_accept;