mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00
Update Badge<T> instantiations to simply be {}.
This commit is contained in:
parent
fa6446fc0d
commit
fdf3608c8a
11 changed files with 23 additions and 23 deletions
|
@ -6,10 +6,10 @@ CNotifier::CNotifier(int fd, unsigned event_mask)
|
|||
: m_fd(fd)
|
||||
, m_event_mask(event_mask)
|
||||
{
|
||||
CEventLoop::register_notifier(Badge<CNotifier>(), *this);
|
||||
CEventLoop::register_notifier({}, *this);
|
||||
}
|
||||
|
||||
CNotifier::~CNotifier()
|
||||
{
|
||||
CEventLoop::unregister_notifier(Badge<CNotifier>(), *this);
|
||||
CEventLoop::unregister_notifier({}, *this);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue