LibCore: Do not assert that NonnullRefPtr is non-null

Clang complains about this; with the change the next commit is going
to make to ASSERT() internals, GCC is going to start to complain as well.
This commit is contained in:
Sergey Bugaev 2020-04-30 11:53:09 +03:00 committed by Andreas Kling
parent 0fb4a808ef
commit b319aca81a
Notes: sideshowbarker 2024-07-19 07:09:54 +09:00

View File

@ -331,9 +331,6 @@ void EventLoop::pump(WaitMode mode)
for (size_t i = 0; i < events.size(); ++i) {
auto& queued_event = events.at(i);
#ifndef __clang__
ASSERT(queued_event.event);
#endif
auto* receiver = queued_event.receiver.ptr();
auto& event = *queued_event.event;
#ifdef CEVENTLOOP_DEBUG