Update examples/server/server.cpp
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
2071d730fa
commit
421e66b330
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ struct llama_server_context
|
||||||
|
|
||||||
if(reload_ctx)
|
if(reload_ctx)
|
||||||
{
|
{
|
||||||
if(processed_tokens.size() != 0)
|
if(!processed_tokens.empty())
|
||||||
{
|
{
|
||||||
processed_tokens.erase(processed_tokens.begin() + 1, processed_tokens.end());
|
processed_tokens.erase(processed_tokens.begin() + 1, processed_tokens.end());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue