Silence Travis
This commit is contained in:
parent
2a42f245a9
commit
2417f72c5e
|
@ -3498,7 +3498,7 @@ bool Scope::hasInlineOrLambdaFunction() const
|
||||||
for (std::list<Scope*>::const_iterator it = nestedList.begin(); it != nestedList.end(); ++it) {
|
for (std::list<Scope*>::const_iterator it = nestedList.begin(); it != nestedList.end(); ++it) {
|
||||||
const Scope *s = *it;
|
const Scope *s = *it;
|
||||||
// Inline function
|
// Inline function
|
||||||
if (s->type == Scope::eUnconditional && Token::Match(s->classStart->previous(), ") {"))
|
if (s->type == Scope::eUnconditional && Token::simpleMatch(s->classStart->previous(), ") {"))
|
||||||
return true;
|
return true;
|
||||||
// Lambda function
|
// Lambda function
|
||||||
if (s->type == Scope::eLambda)
|
if (s->type == Scope::eLambda)
|
||||||
|
|
Loading…
Reference in New Issue