mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 04:08:08 +00:00
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:
committed by
Andreas Kling
parent
0fb4a808ef
commit
b319aca81a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user