summaryrefslogtreecommitdiff
path: root/Userland/Utilities
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2023-01-11 16:31:10 +0000
committerAndreas Kling <kling@serenityos.org>2023-01-12 11:25:51 +0100
commita8cf0c9371f7ba500cc4920889bc06d78623e980 (patch)
treee6ac140bb2b697d69417e9ff944576350671a94a /Userland/Utilities
parenta15d44f019dc60b001c565ce0b940cc87024dbfd (diff)
downloadserenity-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/Utilities')
-rw-r--r--Userland/Utilities/headless-browser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/headless-browser.cpp b/Userland/Utilities/headless-browser.cpp
index f0e8834d0a..bc5705aeb9 100644
--- a/Userland/Utilities/headless-browser.cpp
+++ b/Userland/Utilities/headless-browser.cpp
@@ -700,7 +700,7 @@ static void load_page_for_screenshot_and_exit(HeadlessBrowserPageClient& page_cl
MUST(output_file->write(image_buffer.bytes()));
exit(0);
- });
+ }).release_value_but_fixme_should_propagate_errors();
timer->start();
}