Skip to content

Commit 4254bb4

Browse files
slarenggerganov
authored andcommitted
ggml : fix ggml_gallocr_ptr type (ggml/1205)
1 parent 9998540 commit 4254bb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/include/ggml-cpp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ typedef std::unique_ptr<gguf_context, gguf_context_deleter> gguf_context_ptr;
2424

2525
struct ggml_gallocr_deleter { void operator()(ggml_gallocr_t galloc) { ggml_gallocr_free(galloc); } };
2626

27-
typedef std::unique_ptr<ggml_gallocr_t, ggml_gallocr_deleter> ggml_gallocr_ptr;
27+
typedef std::unique_ptr<ggml_gallocr, ggml_gallocr_deleter> ggml_gallocr_ptr;
2828

2929
// ggml-backend
3030

0 commit comments

Comments
 (0)