diff --git a/src/threaded_queue.h b/src/threaded_queue.h index 1a103e42..263901f4 100644 --- a/src/threaded_queue.h +++ b/src/threaded_queue.h @@ -75,7 +75,7 @@ public: if (!priority_.empty()) { auto val = std::move(priority_.front()); priority_.pop(); - return val; + return std::move(val); } auto val = std::move(queue_.front());