Skip to content

Commit 2c3420e

Browse files
committed
valueflow.cpp: fixed constParameter selfcheck warnings
1 parent ff965fe commit 2c3420e

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
@@ -2073,7 +2073,7 @@ static Analyzer::Result valueFlowForward(Token* startToken,
20732073
static Analyzer::Result valueFlowForwardRecursive(Token* top,
20742074
const Token* exprTok,
20752075
std::list<ValueFlow::Value> values,
2076-
TokenList& tokenlist,
2076+
const TokenList& tokenlist,
20772077
const Settings* settings,
20782078
SourceLocation loc = SourceLocation::current())
20792079
{
@@ -7544,7 +7544,7 @@ static void valueFlowSubFunction(TokenList& tokenlist, SymbolDatabase* symboldat
75447544
}
75457545
}
75467546

7547-
static void valueFlowFunctionDefaultParameter(TokenList& tokenlist, SymbolDatabase* symboldatabase, const Settings* settings)
7547+
static void valueFlowFunctionDefaultParameter(const TokenList& tokenlist, SymbolDatabase* symboldatabase, const Settings* settings)
75487548
{
75497549
if (!tokenlist.isCPP())
75507550
return;

0 commit comments

Comments
 (0)