diff options
author | Mustafa Quraish <mustafaq9@gmail.com> | 2021-11-22 19:11:16 -0500 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-11-22 21:13:42 -0800 |
commit | 4d302e0e88bd1801e581debcf2fa87ce322e5f3b (patch) | |
tree | 58a262d053e43df197dfd25692e46042649fae8b /Userland/Demos | |
parent | 2fbcab46bfef7a020fbded228e78a627fe08b74c (diff) | |
download | serenity-4d302e0e88bd1801e581debcf2fa87ce322e5f3b.zip |
Everywhere: Use Application::construct() with Main::Arguments directly
Use the updated API everywhere we are currently manually passing in
`arguments.argc` and `arguments.argv`.
Diffstat (limited to 'Userland/Demos')
-rw-r--r-- | Userland/Demos/Starfield/Starfield.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Demos/Starfield/Starfield.cpp b/Userland/Demos/Starfield/Starfield.cpp index 42884aca81..0f04f5cd5d 100644 --- a/Userland/Demos/Starfield/Starfield.cpp +++ b/Userland/Demos/Starfield/Starfield.cpp @@ -162,7 +162,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) args_parser.add_option(speed, "Speed (default = 1)", "speed", 's', "number"); args_parser.parse(arguments); - auto app = GUI::Application::construct(arguments.argc, arguments.argv); + auto app = GUI::Application::construct(arguments); TRY(System::pledge("stdio recvfd sendfd rpath", nullptr)); |