Skip to content

Commit 0a7f693

Browse files
ngxsonggerganov
andauthored
Update examples/server/server.cpp
Co-authored-by: Georgi Gerganov <[email protected]>
1 parent 01da1ed commit 0a7f693

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
@@ -2233,7 +2233,7 @@ struct server_context {
22332233

22342234
auto res = std::make_unique<server_task_result_metrics>();
22352235
res->id = task.id;
2236-
res->slots_data = slots_data;
2236+
res->slots_data = std::move(slots_data);
22372237
res->n_idle_slots = n_idle_slots;
22382238
res->n_processing_slots = n_processing_slots;
22392239
res->n_tasks_deferred = queue_tasks.queue_tasks_deferred.size();

0 commit comments

Comments
 (0)