From 35c934c887d95cac63207234507228a9602c1afc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 20 Apr 2021 16:46:05 +0200 Subject: [PATCH] Fixed self-check warning --- lib/templatesimplifier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/templatesimplifier.cpp b/lib/templatesimplifier.cpp index 717141d83..a1be04416 100644 --- a/lib/templatesimplifier.cpp +++ b/lib/templatesimplifier.cpp @@ -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; }