Skip to content
Permalink
Browse files

[Geometry checker] Fix layerFeature comparison

  • Loading branch information
manisandro committed Jul 6, 2017
1 parent f114b53 commit c71d4216ca15077052605f486525c87aa7ab07d4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/plugins/geometry_checker/checks/qgsgeometrylineintersectioncheck.cpp
@@ -36,7 +36,7 @@ void QgsGeometryLineIntersectionCheck::collectErrors( QList<QgsGeometryCheckErro
QgsGeometryCheckerUtils::LayerFeatures checkFeatures( mContext->featurePools, featureIds.keys(), line->boundingBox(), {QgsWkbTypes::LineGeometry} );
for ( const QgsGeometryCheckerUtils::LayerFeature &checkFeature : checkFeatures )
{
if ( checkFeature.feature().id() == layerFeature.feature().id() )
if ( checkFeature == layerFeature )
{
// Skip current feature
continue;

0 comments on commit c71d421

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