Fixed self-check warning

This commit is contained in:
Daniel Marjamäki 2021-04-20 16:46:05 +02:00
parent 04e9c13bc6
commit 35c934c887
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ static Token *skipRequires(Token *tok)
tok = after->link()->next();
continue;
}
if (Token::Match(after, "requires (") && Token::simpleMatch(after->linkAt(1), ") {")) {
if (Token::simpleMatch(after, "requires (") && Token::simpleMatch(after->linkAt(1), ") {")) {
tok = after->linkAt(1)->linkAt(1)->next();
continue;
}