From 2417f72c5ea4417464b66eb39687312a9e9d1733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 26 May 2016 18:31:52 +0200 Subject: [PATCH] Silence Travis --- lib/symboldatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/symboldatabase.cpp b/lib/symboldatabase.cpp index 0570f61a4..f398768cd 100644 --- a/lib/symboldatabase.cpp +++ b/lib/symboldatabase.cpp @@ -3498,7 +3498,7 @@ bool Scope::hasInlineOrLambdaFunction() const for (std::list::const_iterator it = nestedList.begin(); it != nestedList.end(); ++it) { const Scope *s = *it; // Inline function - if (s->type == Scope::eUnconditional && Token::Match(s->classStart->previous(), ") {")) + if (s->type == Scope::eUnconditional && Token::simpleMatch(s->classStart->previous(), ") {")) return true; // Lambda function if (s->type == Scope::eLambda)