From 624a683c6f36970a234d12a01fc5af7cd5e00c8f Mon Sep 17 00:00:00 2001 From: Xuan Son Nguyen Date: Fri, 14 Mar 2025 22:30:29 +0100 Subject: [PATCH] fix compile --- include/llama-cpp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/llama-cpp.h b/include/llama-cpp.h index efc5074df..fee15ef9c 100644 --- a/include/llama-cpp.h +++ b/include/llama-cpp.h @@ -34,6 +34,7 @@ typedef std::unique_ptr llama_sampler_ptr; typedef std::unique_ptr llama_adapter_lora_ptr; struct llama_batch_ext_ptr : std::unique_ptr { + llama_batch_ext_ptr() : std::unique_ptr() {} llama_batch_ext_ptr(llama_batch_ext * batch) : std::unique_ptr(batch) {} // convenience function to create a batch from text tokens, without worrying about manually freeing it