Silence Travis

This commit is contained in:
Daniel Marjamäki 2016-05-26 18:31:52 +02:00
parent 2a42f245a9
commit 2417f72c5e
1 changed files with 1 additions and 1 deletions

View File

@ -3498,7 +3498,7 @@ bool Scope::hasInlineOrLambdaFunction() const
for (std::list<Scope*>::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)