Skip to content

Commit 44e33d4

Browse files
compiladecebtenzzre
andcommitted
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 6cf481b commit 44e33d4

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
@@ -400,7 +400,7 @@ enum llm_tensor {
400400
LLM_TENSOR_LAYER_OUT_NORM,
401401
};
402402

403-
static const std::map<llm_arch, const std::map<llm_tensor, std::string>> LLM_TENSOR_NAMES = {
403+
static const std::map<llm_arch, std::map<llm_tensor, std::string>> LLM_TENSOR_NAMES = {
404404
{
405405
LLM_ARCH_LLAMA,
406406
{

0 commit comments

Comments
 (0)