]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
server : use std::move whenever possible (#12936)
authorXuan-Son Nguyen <redacted>
Fri, 18 Apr 2025 17:58:12 +0000 (19:58 +0200)
committerGitHub <redacted>
Fri, 18 Apr 2025 17:58:12 +0000 (19:58 +0200)
commit35370ba94593c3abc9550328377d461fc4f822b7
tree0986c65036cf704dd65662bd131b06513086fb22
parent8d6600576318dfc6b091fca744b0fd36a5e5255f
server : use std::move whenever possible (#12936)

* server : use std::move whenever possible

* use r-value ref

* Apply suggestions from code review

Co-authored-by: Georgi Gerganov <redacted>
* make task creation scoped

* restore std::move

* fix task_id not set correctly

* apply changes from suggestion

Co-authored-by: ggerganov <redacted>
---------

Co-authored-by: Georgi Gerganov <redacted>
examples/server/server.cpp