]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ggml : fix ggml_gallocr_ptr type (ggml/1205)
authorDiego Devesa <redacted>
Wed, 30 Apr 2025 13:20:40 +0000 (15:20 +0200)
committerGeorgi Gerganov <redacted>
Thu, 1 May 2025 10:29:02 +0000 (13:29 +0300)
ggml/include/ggml-cpp.h

index a12342c25debea5bf028c8c84fbe3a8ad7928780..48aa79682b65d9a0ec12f7d937ebc7f0840dc6b8 100644 (file)
@@ -24,7 +24,7 @@ typedef std::unique_ptr<gguf_context, gguf_context_deleter> gguf_context_ptr;
 
 struct ggml_gallocr_deleter { void operator()(ggml_gallocr_t galloc) { ggml_gallocr_free(galloc); } };
 
-typedef std::unique_ptr<ggml_gallocr_t, ggml_gallocr_deleter> ggml_gallocr_ptr;
+typedef std::unique_ptr<ggml_gallocr, ggml_gallocr_deleter> ggml_gallocr_ptr;
 
 // ggml-backend