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 {
15521552 std::condition_variable condition_tasks;
15531553
15541554 // 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;
15571557
15581558 // Add a new task to the end of the queue
15591559 int post (server_task && task, bool front = false ) {
@@ -1611,7 +1611,7 @@ struct server_queue {
16111611 }
16121612
16131613 // 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) {
16151615 callback_new_task = std::move (callback);
16161616 }
16171617
You can’t perform that action at this time.
0 commit comments