Skip to content

Commit 5074e6f

Browse files
author
ochafik
committed
Fix copy elision warning
1 parent 33322e8 commit 5074e6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/common.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1857,10 +1857,10 @@ llama_chat_templates llama_chat_templates_from_model(const struct llama_model *
18571857
}
18581858
return {
18591859
has_explicit_template,
1860-
std::move(std::make_unique<minja::chat_template>(default_template_src, bos_token, eos_token)),
1860+
std::make_unique<minja::chat_template>(default_template_src, bos_token, eos_token),
18611861
tool_use_template_src.empty()
18621862
? nullptr
1863-
: std::move(std::make_unique<minja::chat_template>(tool_use_template_src, bos_token, eos_token))
1863+
: std::make_unique<minja::chat_template>(tool_use_template_src, bos_token, eos_token)
18641864
};
18651865
}
18661866

0 commit comments

Comments
 (0)