From 5e53d0c9a70bf479df043b36566b320e2627b67c Mon Sep 17 00:00:00 2001 From: Maxime <672982+maximegmd@users.noreply.github.com> Date: Fri, 19 May 2023 20:35:28 +0200 Subject: [PATCH] Update llama-util.h Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- llama-util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama-util.h b/llama-util.h index d32d3a09c..8cf8c5f21 100644 --- a/llama-util.h +++ b/llama-util.h @@ -101,7 +101,7 @@ struct llama_file { LLAMA_ASSERT(ret == 0); // same } - void read_raw(void * ptr, size_t len) { + void read_raw(void * ptr, size_t len) const { if (len == 0) { return; }