diff options
author | Sergey Bugaev <bugaevc@serenityos.org> | 2020-04-30 11:53:09 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-30 11:30:27 +0200 |
commit | b319aca81a6d978bf8dc22aa2b40592ed6ed10a5 (patch) | |
tree | 1eb7b20fcd53f0ea142a3ff9e9b06830a720c478 | |
parent | 0fb4a808ef67ad87423430c66dcd2531592403f1 (diff) | |
download | serenity-b319aca81a6d978bf8dc22aa2b40592ed6ed10a5.zip |
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.
-rw-r--r-- | Libraries/LibCore/EventLoop.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Libraries/LibCore/EventLoop.cpp b/Libraries/LibCore/EventLoop.cpp index 805d2f67b0..272ca0b1d4 100644 --- a/Libraries/LibCore/EventLoop.cpp +++ b/Libraries/LibCore/EventLoop.cpp @@ -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 |