TemplateSimplifier : Fixed bug in recent commit.

This commit is contained in:
Daniel Marjamäki 2012-01-15 11:58:07 +01:00
parent 9f493c7c51
commit 7e3735988d
1 changed files with 1 additions and 0 deletions

View File

@ -243,6 +243,7 @@ void TemplateSimplifier::removeTemplates(Token *tok)
} else if (tok2->str() == ")") { // garbage code! (#3504)
Token::eraseTokens(tok,tok2);
tok->deleteThis();
break;
}
else if (tok2->str() == "{") {