mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:27:35 +00:00
FlappyBug+Spider: Update GUI:Application::construct usage
Update code to use Main:Arguments directly.
This commit is contained in:
parent
eb2b0d847e
commit
9d2e169169
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
{
|
||||
TRY(Core::System::pledge("stdio rpath recvfd sendfd unix", nullptr));
|
||||
|
||||
auto app = GUI::Application::construct(arguments.argc, arguments.argv);
|
||||
auto app = GUI::Application::construct(arguments);
|
||||
|
||||
Config::pledge_domains("FlappyBug");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue