File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1552,8 +1552,8 @@ struct server_queue {
1552
1552
std::condition_variable condition_tasks;
1553
1553
1554
1554
// callback functions
1555
- std::function<void (server_task&&)> callback_new_task;
1556
- std::function<void (void )> callback_update_slots;
1555
+ std::function<void (server_task &&)> callback_new_task;
1556
+ std::function<void (void )> callback_update_slots;
1557
1557
1558
1558
// Add a new task to the end of the queue
1559
1559
int post (server_task && task, bool front = false ) {
@@ -1611,7 +1611,7 @@ struct server_queue {
1611
1611
}
1612
1612
1613
1613
// Register function to process a new task
1614
- void on_new_task (std::function<void (server_task&&)> callback) {
1614
+ void on_new_task (std::function<void (server_task &&)> callback) {
1615
1615
callback_new_task = std::move (callback);
1616
1616
}
1617
1617
You can’t perform that action at this time.
0 commit comments