forked from organicmaps/organicmaps
added comment about delete
This commit is contained in:
parent
c406fb022c
commit
7853e37a0b
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue