qf.display_func = move(display_func);
unique_lock<mutex> lock(queue_lock);
- frame_queue.push_back(qf);
+ frame_queue.push_back(move(qf));
queue_changed.notify_all();
}
check_error();
unique_lock<mutex> lock(queue_lock);
- frame_queue.push_back(qf);
+ frame_queue.push_back(move(qf));
queue_changed.notify_all();
return true;
}
check_error();
unique_lock<mutex> lock(queue_lock);
- frame_queue.push_back(qf);
+ frame_queue.push_back(move(qf));
queue_changed.notify_all();
return true;
}
qf.display_func = move(display_func);
unique_lock<mutex> lock(queue_lock);
- frame_queue.push_back(qf);
+ frame_queue.push_back(move(qf));
queue_changed.notify_all();
}
// clear_queue() happened, so don't play this frame after all.
continue;
}
- qf = frame_queue.front();
+ qf = move(frame_queue.front());
frame_queue.pop_front();
}