tokenize.cpp: fix internal warning: Found simple pattern inside Token::Match() call: ") :"

This commit is contained in:
Matthias Krüger 2014-09-08 21:47:14 +02:00
parent da3e8606ec
commit 323fd1b3dc
1 changed files with 1 additions and 1 deletions

View File

@ -2361,7 +2361,7 @@ static void setVarIdStructMembers(Token **tok1,
static const Token * findInitListEndToken(const Token *tok)
{
if (!Token::Match(tok, ") :"))
if (!Token::simpleMatch(tok, ") :"))
return nullptr;
tok = tok->tokAt(2);