Skip to content

Commit 80ad7ee

Browse files
committed
test
1 parent eb21dd1 commit 80ad7ee

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/llama-model.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,6 @@ static buft_list_t make_gpu_buft_list(ggml_backend_dev_t dev, enum llama_split_m
333333
return buft_list;
334334
}
335335

336-
337336
struct llama_model::impl {
338337
impl() {}
339338
~impl() {}
@@ -373,7 +372,7 @@ struct llama_model::impl {
373372
llama_model::llama_model(const struct llama_model_params & params) : params(params), pimpl(std::make_unique<impl>()) {
374373
}
375374

376-
llama_model::~llama_model() = default;
375+
llama_model::~llama_model() {}
377376

378377
void llama_model::load_stats(llama_model_loader & ml) {
379378
pimpl->n_elements = ml.n_elements;

src/llama-model.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ struct llama_model {
329329
int64_t t_load_us = 0;
330330
int64_t t_start_us = 0;
331331

332-
llama_model(const struct llama_model_params & params);
332+
explicit llama_model(const struct llama_model_params & params);
333333
~llama_model();
334334

335335
void load_stats (llama_model_loader & ml);

0 commit comments

Comments
 (0)