From 3e2f7d3e792803e3f4f22de31e4ca8e7b5d8c3ac Mon Sep 17 00:00:00 2001 From: Andre Mueller Date: Tue, 4 Sep 2018 18:39:57 +0200 Subject: [PATCH] made notify member functions private --- src/parallel_task_queue.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parallel_task_queue.h b/src/parallel_task_queue.h index 1b77136..c1eca98 100644 --- a/src/parallel_task_queue.h +++ b/src/parallel_task_queue.h @@ -475,6 +475,8 @@ class parallel_task_queue isDone_.wait(lock, [this]{return empty() && (running() < 1);}); } + +private: //----------------------------------------------------- void notify_task_started() { isFull_.notify_one(); @@ -486,8 +488,6 @@ class parallel_task_queue } -private: - //--------------------------------------------------------------- void try_assign_tasks() {