From 99777671e56f51171dd9ec2c24a878ce522c81f1 Mon Sep 17 00:00:00 2001 From: Edoardo Prezioso Date: Wed, 24 Oct 2012 03:27:15 +0200 Subject: [PATCH] Related to commit 11b00470637ed119140fb6257a5552f13f010d85: fix copy-paste mistake. --- lib/templatesimplifier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/templatesimplifier.cpp b/lib/templatesimplifier.cpp index 9a50047fd..ae17b1a0f 100644 --- a/lib/templatesimplifier.cpp +++ b/lib/templatesimplifier.cpp @@ -340,7 +340,7 @@ std::set 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();