diff options
Diffstat (limited to 'Libraries/LibCore/CTCPServer.h')
-rw-r--r-- | Libraries/LibCore/CTCPServer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibCore/CTCPServer.h b/Libraries/LibCore/CTCPServer.h index 09b3852118..67b551e22c 100644 --- a/Libraries/LibCore/CTCPServer.h +++ b/Libraries/LibCore/CTCPServer.h @@ -15,7 +15,7 @@ public: bool is_listening() const { return m_listening; } bool listen(const IPv4Address& address, u16 port); - CTCPSocket* accept(); + ObjectPtr<CTCPSocket> accept(); Function<void()> on_ready_to_accept; |