b9b5c473 threadpool: use std::move when taking an element off the queue (moneromooo-monero)
b9b5c473
@ -160,7 +160,7 @@ void threadpool::run(bool flush) {
if (!running) break;
active++;
e = queue.front();
e = std::move(queue.front());
queue.pop_front();
lock.unlock();
++depth;