Related to commit 11b00470637ed119140fb6257a5552f13f010d85: fix copy-paste mistake.

This commit is contained in:
Edoardo Prezioso 2012-10-24 03:27:15 +02:00
parent ad1e65d290
commit 99777671e5
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ std::set<std::string> TemplateSimplifier::expandSpecialized(Token *tokens)
{
std::ostringstream ostr;
const Token *tok3 = tok2;
for (; tok3 && tok3->str() == ">"; tok3 = tok3->next()) {
for (; tok3 && tok3->str() != ">"; tok3 = tok3->next()) {
if (tok3 != tok2)
ostr << " ";
ostr << tok3->str();