From 892596681b3c77b9dbe935c25725b615238fbe65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 27 Oct 2016 11:53:37 +0200 Subject: [PATCH] Try to make Travis happy --- lib/checkstl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkstl.cpp b/lib/checkstl.cpp index d0ea30462..251f70971 100644 --- a/lib/checkstl.cpp +++ b/lib/checkstl.cpp @@ -303,7 +303,7 @@ static const Variable *getContainer(const Token *argtok) if (!Token::Match(argtok, "%var% . begin|end|rbegin|rend ( )")) // TODO: use Library yield return nullptr; const Variable *var = argtok->variable(); - if (var && Token::Match(var->typeStartToken(), "std ::")) + if (var && Token::simpleMatch(var->typeStartToken(), "std ::")) return var; return nullptr; }