aboutsummaryrefslogtreecommitdiff
path: root/src/common/threadpool.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/common/threadpool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/threadpool.cpp b/src/common/threadpool.cpp
index 2748c798c..38f52c45b 100644
--- a/src/common/threadpool.cpp
+++ b/src/common/threadpool.cpp
@@ -145,7 +145,7 @@ void threadpool::run(bool flush) {
if (!running) break;
active++;
- e = queue.front();
+ e = std::move(queue.front());
queue.pop_front();
lock.unlock();
++depth;