CI; Fix self check warning, pointer can be const
This commit is contained in:
parent
dd34d1c123
commit
524e4b8c96
|
@ -2371,7 +2371,7 @@ bool TemplateSimplifier::simplifyNumericCalculations(Token *tok, bool isTemplate
|
|||
return ret;
|
||||
}
|
||||
|
||||
static Token *skipTernaryOp(Token *tok, Token *backToken)
|
||||
static Token *skipTernaryOp(Token *tok, const Token *backToken)
|
||||
{
|
||||
unsigned int colonLevel = 1;
|
||||
while (nullptr != (tok = tok->next())) {
|
||||
|
|
Loading…
Reference in New Issue