summaryrefslogtreecommitdiff
path: root/Userland/Games/2048
diff options
context:
space:
mode:
authorMustafa Quraish <mustafaq9@gmail.com>2021-11-22 19:11:16 -0500
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-11-22 21:13:42 -0800
commit4d302e0e88bd1801e581debcf2fa87ce322e5f3b (patch)
tree58a262d053e43df197dfd25692e46042649fae8b /Userland/Games/2048
parent2fbcab46bfef7a020fbded228e78a627fe08b74c (diff)
downloadserenity-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/Games/2048')
-rw-r--r--Userland/Games/2048/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/2048/main.cpp b/Userland/Games/2048/main.cpp
index b428be3f74..989d318a57 100644
--- a/Userland/Games/2048/main.cpp
+++ b/Userland/Games/2048/main.cpp
@@ -30,7 +30,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
srand(time(nullptr));
- auto app = GUI::Application::construct(arguments.argc, arguments.argv);
+ auto app = GUI::Application::construct(arguments);
auto app_icon = GUI::Icon::default_icon("app-2048");
auto window = GUI::Window::construct();