1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 07:35:08 +00:00

Update Badge<T> instantiations to simply be {}.

This commit is contained in:
Andreas Kling 2019-05-31 15:44:04 +02:00
parent fa6446fc0d
commit fdf3608c8a
11 changed files with 23 additions and 23 deletions

View file

@ -243,7 +243,7 @@ void GEventLoop::process_unprocessed_bundles()
}
if (event.type == WSAPI_ServerMessage::Type::ScreenRectChanged) {
GDesktop::the().did_receive_screen_rect(Badge<GEventLoop>(), event.screen.rect);
GDesktop::the().did_receive_screen_rect({}, event.screen.rect);
continue;
}
@ -414,5 +414,5 @@ void GEventLoop::handle_greeting(WSAPI_ServerMessage& message)
{
s_server_pid = message.greeting.server_pid;
s_my_client_id = message.greeting.your_client_id;
GDesktop::the().did_receive_screen_rect(Badge<GEventLoop>(), message.greeting.screen_rect);
GDesktop::the().did_receive_screen_rect({}, message.greeting.screen_rect);
}