diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-22 00:31:54 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-22 00:31:54 +0200 |
commit | d6abfbdc5a7838fdc8e20e43a5146968a8dbcd81 (patch) | |
tree | 3a2b7d2f2c3d5e231a391f5f86ac64aaea2c49fb /Libraries/LibCore/CoreIPCServer.h | |
parent | bc319d9e8873734bb8e8cea3d762d7fab2ded887 (diff) | |
download | serenity-d6abfbdc5a7838fdc8e20e43a5146968a8dbcd81.zip |
LibCore: Remove ObjectPtr in favor of RefPtr
Now that CObject is fully ref-counted, just use RefPtr everywhere! :^)
Diffstat (limited to 'Libraries/LibCore/CoreIPCServer.h')
-rw-r--r-- | Libraries/LibCore/CoreIPCServer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibCore/CoreIPCServer.h b/Libraries/LibCore/CoreIPCServer.h index f8c064e8fa..73b3130379 100644 --- a/Libraries/LibCore/CoreIPCServer.h +++ b/Libraries/LibCore/CoreIPCServer.h @@ -203,7 +203,7 @@ namespace Server { virtual bool handle_message(const ClientMessage&, const ByteBuffer&& = {}) = 0; private: - ObjectPtr<CLocalSocket> m_socket; + RefPtr<CLocalSocket> m_socket; int m_client_id { -1 }; int m_client_pid { -1 }; }; @@ -311,7 +311,7 @@ namespace Server { private: Endpoint& m_endpoint; - ObjectPtr<CLocalSocket> m_socket; + RefPtr<CLocalSocket> m_socket; int m_client_id { -1 }; int m_client_pid { -1 }; }; |