Skip to content
Permalink
Browse files

Fix warning

  • Loading branch information
nyalldawson committed Aug 14, 2018
1 parent 546ecbe commit 553090b17a69eef1c6551d79db6679be4211e78b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/processing/qgsprocessingparameters.cpp
@@ -603,7 +603,7 @@ QgsVectorLayer *QgsProcessingParameters::parameterAsVectorLayer( const QgsProces

QgsVectorLayer *QgsProcessingParameters::parameterAsVectorLayer( const QgsProcessingParameterDefinition *definition, const QVariant &value, QgsProcessingContext &context )
{
return qobject_cast< QgsVectorLayer *>( parameterAsVectorLayer( definition, value, context ) );
return qobject_cast< QgsVectorLayer *>( parameterAsLayer( definition, value, context ) );
}

QgsCoordinateReferenceSystem QgsProcessingParameters::parameterAsCrs( const QgsProcessingParameterDefinition *definition, const QVariantMap &parameters, QgsProcessingContext &context )

0 comments on commit 553090b

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