remove void

This commit is contained in:
Henri Vasserman 2023-06-12 10:28:17 +03:00 committed by GitHub
parent eee8b28d36
commit 4148b9bd03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ size_t find_partial_stop_string(const std::string & stop, const std::string & te
template<class Iter>
static std::string tokens_to_str(llama_context * ctx, Iter begin, Iter end) {
std::string ret;
for (; begin != end; (void)++begin) {
for (; begin != end; ++begin) {
ret += llama_token_to_str(ctx, *begin);
}
return ret;