From 3d3d77a461c80052088d19534bbdedc3cca37757 Mon Sep 17 00:00:00 2001 From: Jakob Progsch Date: Fri, 5 Apr 2013 22:41:39 +0200 Subject: [PATCH] trailing whitespaces --- ThreadPool.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ThreadPool.h b/ThreadPool.h index b2cea78..82acd0c 100644 --- a/ThreadPool.h +++ b/ThreadPool.h @@ -69,15 +69,15 @@ auto ThreadPool::enqueue(F&& f, Args&&... args) std::bind(std::forward(f), std::forward(args)...) ); - std::future res = task->get_future(); + std::future res = task->get_future(); { - std::unique_lock lock(queue_mutex); + std::unique_lock lock(queue_mutex); tasks.push([task](){ (*task)(); }); } condition.notify_one(); return res; } - + // the destructor joins all threads inline ThreadPool::~ThreadPool() {