1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:58:12 +00:00

WSEventLoop: Remove inheritance from CEventLoop

The only reason for the inheritance was to add FDs to the select set.

Since CNotifier is available (and now also quite useful), we can make use of it
instead, and remove the inheritance.
This commit is contained in:
Robin Burchell 2019-07-17 11:09:09 +02:00 committed by Andreas Kling
parent 6eaa6826fa
commit 3837de0573
6 changed files with 30 additions and 45 deletions

View file

@ -27,6 +27,6 @@ int main(int, char**)
WSWindowManager window_manager;
dbgprintf("Entering WindowServer main loop.\n");
WSEventLoop::the().exec();
loop.exec();
ASSERT_NOT_REACHED();
}