Skip to content

Commit a6a3653

Browse files
committed
small fix
1 parent c734b53 commit a6a3653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server/server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1670,7 +1670,7 @@ struct server_queue {
16701670
lock.unlock();
16711671

16721672
QUE_DBG("processing task, id = %d\n", task.id);
1673-
callback_new_task(task);
1673+
callback_new_task(std::move(task));
16741674
}
16751675

16761676
// all tasks in the current loop is processed, slots data is now ready

0 commit comments

Comments
 (0)