From b168ca0037ea28c145b766f52c4ba3dde15a6ffd Mon Sep 17 00:00:00 2001 From: Vaclav Zeman Date: Thu, 11 Sep 2014 13:07:31 +0200 Subject: [PATCH] Use C++11 for(a:b) loop. --- ThreadPool.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ThreadPool.h b/ThreadPool.h index 66634d8..04f0291 100644 --- a/ThreadPool.h +++ b/ThreadPool.h @@ -91,8 +91,8 @@ inline ThreadPool::~ThreadPool() stop = true; } condition.notify_all(); - for(size_t i = 0;i