mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +00:00
LibCore: Convert CNotifier to ObjectPtr
This commit is contained in:
parent
50a6560413
commit
d1bacb9885
17 changed files with 42 additions and 32 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <LibCore/CIODevice.h>
|
||||
#include <LibCore/CSocketAddress.h>
|
||||
#include <LibCore/ObjectPtr.h>
|
||||
|
||||
class CNotifier;
|
||||
|
||||
|
@ -53,6 +54,6 @@ private:
|
|||
bool common_connect(const struct sockaddr*, socklen_t);
|
||||
|
||||
Type m_type { Type::Invalid };
|
||||
OwnPtr<CNotifier> m_notifier;
|
||||
OwnPtr<CNotifier> m_read_notifier;
|
||||
ObjectPtr<CNotifier> m_notifier;
|
||||
ObjectPtr<CNotifier> m_read_notifier;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue