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/Libraries/LibIPC/Connection.cpp | |
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/Libraries/LibIPC/Connection.cpp')
-rw-r--r-- | Userland/Libraries/LibIPC/Connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibIPC/Connection.cpp b/Userland/Libraries/LibIPC/Connection.cpp index ab36d6bc98..0bbf29dfad 100644 --- a/Userland/Libraries/LibIPC/Connection.cpp +++ b/Userland/Libraries/LibIPC/Connection.cpp @@ -27,7 +27,7 @@ ConnectionBase::ConnectionBase(IPC::Stub& local_stub, NonnullOwnPtr<Core::Stream , m_local_endpoint_magic(local_endpoint_magic) , m_deferred_invoker(make<CoreEventLoopDeferredInvoker>()) { - m_responsiveness_timer = Core::Timer::create_single_shot(3000, [this] { may_have_become_unresponsive(); }); + m_responsiveness_timer = Core::Timer::create_single_shot(3000, [this] { may_have_become_unresponsive(); }).release_value_but_fixme_should_propagate_errors(); } void ConnectionBase::set_deferred_invoker(NonnullOwnPtr<DeferredInvoker> deferred_invoker) |