mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-05 08:06:09 +00:00
Update Badge<T> instantiations to simply be {}.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user