Skip to content
Permalink
Browse files
std::make_unique -> qgis::make_unique
  • Loading branch information
pathmapper authored and nyalldawson committed Jul 21, 2021
1 parent 4054067 commit 572299ad86530a8782370391ba15295627ce4f36
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/processing/qgsprocessingwidgetwrapperimpl.cpp
@@ -3934,7 +3934,7 @@ QgsProcessingParameterDefinition *QgsProcessingFieldParameterDefinitionWidget::c
{
defaultValue = mDefaultLineEdit->text();
}
auto param = std::make_unique< QgsProcessingParameterField >( name, description, defaultValue, mParentLayerComboBox->currentData().toString(), dataType, mAllowMultipleCheckBox->isChecked(), false, mDefaultToAllCheckBox->isChecked() );
auto param = qgis::make_unique< QgsProcessingParameterField >( name, description, defaultValue, mParentLayerComboBox->currentData().toString(), dataType, mAllowMultipleCheckBox->isChecked(), false, mDefaultToAllCheckBox->isChecked() );
param->setFlags( flags );
return param.release();
}

0 comments on commit 572299a

Please sign in to comment.