mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-16 16:12:53 +00:00
LibCore: Fix errors when compiling LibCore using clang instead of gcc
This commit is contained in:
parent
250f6b9a1e
commit
aab412bd85
Notes:
sideshowbarker
2024-07-19 17:42:14 +09:00
Author: https://github.com/Pagghiu
Commit: aab412bd85
Pull-request: https://github.com/SerenityOS/serenity/pull/841
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bugaevc
3 changed files with 7 additions and 2 deletions
|
@ -241,8 +241,9 @@ void CEventLoop::pump(WaitMode mode)
|
|||
|
||||
for (int 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
Add a link
Reference in a new issue