From 577f7c953bcb25b566a0ccc5ac31b8fa5f5061ff Mon Sep 17 00:00:00 2001 From: Sara Gerretsen Date: Tue, 23 Sep 2025 16:05:06 +0200 Subject: [PATCH] chore: minor formatting adjustment --- src/thread_pool.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/thread_pool.cpp b/src/thread_pool.cpp index e4943a0..48e4d25 100644 --- a/src/thread_pool.cpp +++ b/src/thread_pool.cpp @@ -35,8 +35,7 @@ void ThreadPool::ScheduleTask(TaskFunc fn) { void ThreadPool::ThreadFn() { TaskFunc function; for(;;) { - { - std::unique_lock lock{ this->lock }; + { std::unique_lock lock{ this->lock }; while (!this->shutdown && this->taskQueue.empty()) { this->threadNotifier.wait(lock); }