From 06110689a6a10958155ca6a098bad86bb66a0f85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 9 Aug 2015 20:07:38 +0200 Subject: [PATCH] Replace Token::Match with Token::simpleMatch --- lib/library.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/library.cpp b/lib/library.cpp index 7ae08bc02..63d8712cf 100644 --- a/lib/library.cpp +++ b/lib/library.cpp @@ -699,7 +699,7 @@ bool Library::isNotLibraryFunction(const Token *ftok) const { // methods are not library functions // called from tokenizer, ast is not created properly yet - if (Token::Match(ftok->previous(),".")) + if (Token::simpleMatch(ftok->previous(),".")) return true; if (ftok->function() && ftok->function()->nestedIn && ftok->function()->nestedIn->type != Scope::eGlobal) return true;