Skip to content

Commit 72babea

Browse files
authored
graph : make llm_graph_context destructor virtual (#14410)
ggml-ci
1 parent 4367806 commit 72babea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/llama-graph.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,7 @@ struct llm_graph_context {
475475
std::unique_ptr<llm_graph_result> res;
476476

477477
llm_graph_context(const llm_graph_params & params);
478+
virtual ~llm_graph_context() = default;
478479

479480
void cb(ggml_tensor * cur, const char * name, int il) const;
480481

0 commit comments

Comments
 (0)