Skip to content
Permalink
Browse files

Fix build warnings

  • Loading branch information
m-kuhn committed Sep 18, 2018
1 parent ceec910 commit e0697fb43692ea17833dc183cc0cc74a9a829843
@@ -30,6 +30,8 @@ QList<QgsWkbTypes::GeometryType> QgsGeometryIsValidCheck::compatibleGeometryType

QList<QgsSingleGeometryCheckError *> QgsGeometryIsValidCheck::processGeometry( const QgsGeometry &geometry ) const
{
Q_UNUSED( configuration )

QVector<QgsGeometry::Error> errors;

QgsGeometry::ValidationMethod method = QgsGeometry::ValidatorQgisInternal;
@@ -100,13 +100,3 @@ bool QgsGeometryCheckErrorSingle::handleChanges( const QgsGeometryCheck::Changes

return mError->handleChanges( changes.value( layerId() ).value( featureId() ) );
}

void QgsSingleGeometryCheck::collectErrors( QList<QgsGeometryCheckError *> &errors, QStringList &messages, QAtomicInt *progressCounter, const QMap<QString, QgsFeatureIds> &ids ) const
{
QMap<QString, QgsFeatureIds> featureIds = ids.isEmpty() ? allLayerFeatureIds() : ids;
QgsGeometryCheckerUtils::LayerFeatures layerFeatures( mContext->featurePools, featureIds, mCompatibleGeometryTypes, progressCounter, mContext );
for ( const QgsGeometryCheckerUtils::LayerFeature &layerFeature : layerFeatures )
{
errors.append( processGeometry( layerFeature.geometry() ) );
}
}

0 comments on commit e0697fb

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