Skip to content

Commit 1f70fd0

Browse files
llama : remove redundant inner const for LLM_TENSOR_NAMES
The extra const won't do anything here as const maps return const references to values. Co-authored-by: Jared Van Bortel <[email protected]>
1 parent 8f586f6 commit 1f70fd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ enum llm_tensor {
398398
LLM_TENSOR_LAYER_OUT_NORM,
399399
};
400400

401-
static const std::map<llm_arch, const std::map<llm_tensor, std::string>> LLM_TENSOR_NAMES = {
401+
static const std::map<llm_arch, std::map<llm_tensor, std::string>> LLM_TENSOR_NAMES = {
402402
{
403403
LLM_ARCH_LLAMA,
404404
{

0 commit comments

Comments
 (0)