diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-04-16 17:17:39 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-04-18 12:57:34 +0200 |
commit | 73552c18568b8f7e08cd8c474689f922d9bfe659 (patch) | |
tree | 088559fc835dfefd233bdb28ca98404eee411469 /Userland/Utilities/copy.cpp | |
parent | cd7037afd5b97260b69dd3c5cfec9b191b325fb5 (diff) | |
download | serenity-73552c18568b8f7e08cd8c474689f922d9bfe659.zip |
Userland: Always construct Application with try_create()
Diffstat (limited to 'Userland/Utilities/copy.cpp')
-rw-r--r-- | Userland/Utilities/copy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/copy.cpp b/Userland/Utilities/copy.cpp index 04562db98e..cb4a222929 100644 --- a/Userland/Utilities/copy.cpp +++ b/Userland/Utilities/copy.cpp @@ -64,7 +64,7 @@ static Options parse_options(Main::Arguments arguments) ErrorOr<int> serenity_main(Main::Arguments arguments) { - auto app = GUI::Application::construct(arguments); + auto app = TRY(GUI::Application::try_create(arguments)); Options options = parse_options(arguments); |