Moving a temporary prevents copy elision. (#91)

master
Holger Rapp 2016-10-20 19:11:29 +02:00 committed by GitHub
parent 695c303c56
commit 3986ad5328
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ class OrderedMultiQueue {
return;
}
last_dispatched_key_ = next_data->time;
next_queue->callback(std::move(next_queue->queue.Pop()));
next_queue->callback(next_queue->queue.Pop());
}
}