Try to make Travis happy
This commit is contained in:
parent
f6a5f6bb61
commit
892596681b
|
@ -303,7 +303,7 @@ static const Variable *getContainer(const Token *argtok)
|
||||||
if (!Token::Match(argtok, "%var% . begin|end|rbegin|rend ( )")) // TODO: use Library yield
|
if (!Token::Match(argtok, "%var% . begin|end|rbegin|rend ( )")) // TODO: use Library yield
|
||||||
return nullptr;
|
return nullptr;
|
||||||
const Variable *var = argtok->variable();
|
const Variable *var = argtok->variable();
|
||||||
if (var && Token::Match(var->typeStartToken(), "std ::"))
|
if (var && Token::simpleMatch(var->typeStartToken(), "std ::"))
|
||||||
return var;
|
return var;
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue