Update llama-util.h

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Maxime 2023-05-19 20:35:32 +02:00 committed by GitHub
parent 5e53d0c9a7
commit 26f4337a37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,7 +127,7 @@ struct llama_file {
return std::string(chars.data(), len);
}
void write_raw(const void * ptr, size_t len) {
void write_raw(const void * ptr, size_t len) const {
if (len == 0) {
return;
}