diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-01-11 16:31:10 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-01-12 11:25:51 +0100 |
commit | a8cf0c9371f7ba500cc4920889bc06d78623e980 (patch) | |
tree | e6ac140bb2b697d69417e9ff944576350671a94a /Userland/Games/MasterWord | |
parent | a15d44f019dc60b001c565ce0b940cc87024dbfd (diff) | |
download | serenity-a8cf0c9371f7ba500cc4920889bc06d78623e980.zip |
LibCore+Userland: Make Core::Timer::create_single_shot() return ErrorOr
clang-format sure has some interesting opinions about where to put a
method call that comes after a lambda. :thonk:
Diffstat (limited to 'Userland/Games/MasterWord')
-rw-r--r-- | Userland/Games/MasterWord/WordGame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/MasterWord/WordGame.cpp b/Userland/Games/MasterWord/WordGame.cpp index 755f59c144..a7665458a2 100644 --- a/Userland/Games/MasterWord/WordGame.cpp +++ b/Userland/Games/MasterWord/WordGame.cpp @@ -25,7 +25,7 @@ REGISTER_WIDGET(MasterWord, WordGame) namespace MasterWord { WordGame::WordGame() - : m_clear_message_timer(Core::Timer::create_single_shot(5000, [this] { clear_message(); })) + : m_clear_message_timer(Core::Timer::create_single_shot(5000, [this] { clear_message(); }).release_value_but_fixme_should_propagate_errors()) { read_words(); m_num_letters = Config::read_i32("MasterWord"sv, ""sv, "word_length"sv, 5); |