diff options
Diffstat (limited to 'lib/worker.cpp')
-rw-r--r-- | lib/worker.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/worker.cpp b/lib/worker.cpp index 4f1352d..7e7f296 100644 --- a/lib/worker.cpp +++ b/lib/worker.cpp @@ -1,5 +1,4 @@ #include "worker.h" -#include "work.h" #include <algorithm> #include <iterator> #include <mutex> @@ -19,7 +18,7 @@ Worker::~Worker() } void -Worker::addWork(WorkPtr j) +Worker::addWorkPtr(WorkPtr j) { std::lock_guard<std::mutex> lck {todoMutex}; todoLen.release(); |