From: Mikko Rasa Date: Thu, 16 Aug 2018 07:51:40 +0000 (+0300) Subject: Fix a bug in merging ChoiceConditions X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=f3d3b7227de162f824b8be6be4028a8848f11f2f;p=poefilter.git Fix a bug in merging ChoiceConditions --- diff --git a/source/choicecondition.h b/source/choicecondition.h index 424dca6..91b5e71 100644 --- a/source/choicecondition.h +++ b/source/choicecondition.h @@ -72,7 +72,7 @@ ChoiceCondition *ChoiceCondition::merge(const std::vector &co if(dynamic_cast(&parent) && !conditions.empty()) { ChoiceCondition *result = 0; - for(std::vector::const_iterator i=conditions.begin(); ++i!=conditions.end(); ) + for(std::vector::const_iterator i=conditions.begin(); i!=conditions.end(); ++i) { const std::vector &v = static_cast *>(*i)->values; if(!result)