mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-27 21:46:57 +02:00
server,common : fix the GCC 12 stringop-overread false positive (again) (#29325)
Signed-off-by: Adrien Gallouët <[email protected]>
This commit is contained in:
@@ -2060,7 +2060,7 @@ private:
|
||||
res->is_begin = true;
|
||||
} else {
|
||||
res->content = tkn.text_to_send;
|
||||
res->tokens = { tkn.tok };
|
||||
res->tokens.assign(1, tkn.tok);
|
||||
}
|
||||
|
||||
res->n_decoded = slot.stats.n_gen;
|
||||
|
||||
Reference in New Issue
Block a user