CI; Fix self check warning, pointer can be const

This commit is contained in:
Daniel Marjamäki 2021-07-20 12:21:01 +02:00
parent dd34d1c123
commit 524e4b8c96
1 changed files with 1 additions and 1 deletions

View File

@ -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())) {