Skip to content

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/gui/qgsuniquevaluerenderer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ QgsUniqueValueRenderer::QgsUniqueValueRenderer(const QgsUniqueValueRenderer& oth
3939
{
4040
mVectorType = other.mVectorType;
4141
mClassificationField = other.mClassificationField;
42-
for(std::map<QString, QgsSymbol*>::iterator it=mSymbols.begin(); it!=mSymbols.end(); ++it)
42+
std::map<QString, QgsSymbol*> s = other.mSymbols;
43+
for(std::map<QString, QgsSymbol*>::iterator it=s.begin(); it!=s.end(); ++it)
4344
{
4445
QgsSymbol* s = new QgsSymbol(*(it->second));
4546
insertValue(it->first, s);

0 commit comments

Comments
 (0)
Please sign in to comment.