From 2f691e53653ccbb34507a585cf550d4a5f92949c Mon Sep 17 00:00:00 2001 From: Jacob Dufault Date: Thu, 20 Apr 2017 17:16:54 -0700 Subject: [PATCH] Fix compile error --- src/threaded_queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());