Skip to content
Permalink
Browse files

Fix clazy mixed const/non-const iterator warnings

  • Loading branch information
nyalldawson committed Feb 2, 2018
1 parent 252dbdc commit 1a04dfb8c525734fba6f8bf09a1f4219d6ff4456
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/analysis/vector/geometry_checker/qgsgeometrycheckerutils.cpp
@@ -99,7 +99,7 @@ namespace QgsGeometryCheckerUtils
}
if ( mParent->mGeometryTypes.contains( mParent->mFeaturePools[*mLayerIt]->getLayer()->geometryType() ) )
{
mFeatureIt = mParent->mFeatureIds[*mLayerIt].begin();
mFeatureIt = mParent->mFeatureIds[*mLayerIt].constBegin();
return true;
}
++mLayerIt;

0 comments on commit 1a04dfb

Please sign in to comment.
You can’t perform that action at this time.