TemplateSimplifier: Allow that template parameter starts with ::
This commit is contained in:
parent
b0dc708b4d
commit
ea148173bb
|
@ -190,6 +190,8 @@ unsigned int TemplateSimplifier::templateParameters(const Token *tok)
|
|||
++numberOfParameters;
|
||||
|
||||
// skip std::
|
||||
if (tok->str() == "::")
|
||||
tok = tok->next();
|
||||
while (Token::Match(tok, "%var% ::"))
|
||||
tok = tok->tokAt(2);
|
||||
if (!tok)
|
||||
|
|
Loading…
Reference in New Issue