Skip to content

Commit b403f49

Browse files
committed
valueflow.cpp: fixed constParameter selfcheck warnings
1 parent 0f31df4 commit b403f49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/valueflow.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2082,7 +2082,7 @@ static Analyzer::Result valueFlowForward(Token* startToken,
20822082
static Analyzer::Result valueFlowForwardRecursive(Token* top,
20832083
const Token* exprTok,
20842084
std::list<ValueFlow::Value> values,
2085-
TokenList& tokenlist,
2085+
const TokenList& tokenlist,
20862086
const Settings* settings,
20872087
SourceLocation loc = SourceLocation::current())
20882088
{
@@ -7567,7 +7567,7 @@ static void valueFlowSubFunction(TokenList& tokenlist, SymbolDatabase* symboldat
75677567
}
75687568
}
75697569

7570-
static void valueFlowFunctionDefaultParameter(TokenList& tokenlist, SymbolDatabase* symboldatabase, const Settings* settings)
7570+
static void valueFlowFunctionDefaultParameter(const TokenList& tokenlist, SymbolDatabase* symboldatabase, const Settings* settings)
75717571
{
75727572
if (!tokenlist.isCPP())
75737573
return;

0 commit comments

Comments
 (0)