mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
LibCore: Remove ObjectPtr in favor of RefPtr
Now that CObject is fully ref-counted, just use RefPtr everywhere! :^)
This commit is contained in:
parent
bc319d9e88
commit
d6abfbdc5a
71 changed files with 146 additions and 156 deletions
|
@ -14,7 +14,7 @@ public:
|
|||
bool is_listening() const { return m_listening; }
|
||||
bool listen(const IPv4Address& address, u16 port);
|
||||
|
||||
ObjectPtr<CTCPSocket> accept();
|
||||
RefPtr<CTCPSocket> accept();
|
||||
|
||||
Function<void()> on_ready_to_accept;
|
||||
|
||||
|
@ -23,5 +23,5 @@ private:
|
|||
|
||||
int m_fd { -1 };
|
||||
bool m_listening { false };
|
||||
ObjectPtr<CNotifier> m_notifier;
|
||||
RefPtr<CNotifier> m_notifier;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue