mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 09:04:30 +00:00
CEventLoop: Use NonnullOwnPtr for QueuedEvent::event.
We don't allow null events in the event queue. :^)
This commit is contained in:
@@ -148,7 +148,7 @@ void CEventLoop::pump(WaitMode mode)
|
||||
}
|
||||
}
|
||||
|
||||
void CEventLoop::post_event(CObject& receiver, OwnPtr<CEvent>&& event)
|
||||
void CEventLoop::post_event(CObject& receiver, NonnullOwnPtr<CEvent>&& event)
|
||||
{
|
||||
LOCKER(m_lock);
|
||||
#ifdef CEVENTLOOP_DEBUG
|
||||
|
||||
Reference in New Issue
Block a user