added comment about delete

This commit is contained in:
Darafei Praliaskouski 2013-01-24 20:32:31 +03:00 committed by Alex Zolotarev
parent c406fb022c
commit 7853e37a0b

View file

@ -146,12 +146,14 @@ namespace feature
}
if (hasIcon && hasCaptionWithoutOffset)
// we need to delete symbol style (single one due to MakeUnique call above)
for (size_t i = 0; i < count; ++i)
{
if (keys[i].m_type == drule::symbol)
{
m_rules[i] = m_rules[m_rules.size() - 1];
m_rules.pop_back();
break;
}
}