From e398f667728543219eb648a084355d4b3e254f61 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Tue, 21 Jan 2020 14:43:17 -0800 Subject: [PATCH] Run clang-format --- src/iothread.cpp | 2 +- src/iothread.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/iothread.cpp b/src/iothread.cpp index 5f40fe5bc..c62226aad 100644 --- a/src/iothread.cpp +++ b/src/iothread.cpp @@ -102,7 +102,7 @@ struct thread_pool_t { /// The function \p func will execute in one of the pool's threads. /// \p completion will run on the main thread, if it is not missing. /// If \p cant_wait is set, disrespect the thread limit, because extant threads may - ///want to wait for new threads. + /// want to wait for new threads. int perform(void_function_t &&func, void_function_t &&completion, bool cant_wait); private: diff --git a/src/iothread.h b/src/iothread.h index 4dd646a78..5d91b2b34 100644 --- a/src/iothread.h +++ b/src/iothread.h @@ -31,7 +31,8 @@ void iothread_service_completion(void); int iothread_drain_all(void); // Internal implementation -int iothread_perform_impl(std::function &&func, std::function &&completion, bool cant_wait = false); +int iothread_perform_impl(std::function &&func, std::function &&completion, + bool cant_wait = false); // Template helpers // This is the glue part of the handler-completion handoff