mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-26 03:02:27 -05: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:
parent
0fb4a808ef
commit
b319aca81a
Notes:
sideshowbarker
2024-07-19 07:09:54 +09:00
Author: https://github.com/bugaevc Commit: https://github.com/SerenityOS/serenity/commit/b319aca81a6 Pull-request: https://github.com/SerenityOS/serenity/pull/2024 Reviewed-by: https://github.com/awesomekling
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue