Skip to content

Commit

Permalink
std::make_unique -> qgis::make_unique
Browse files Browse the repository at this point in the history
  • Loading branch information
pathmapper authored and nyalldawson committed Jul 21, 2021
1 parent 4054067 commit 572299a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/processing/qgsprocessingwidgetwrapperimpl.cpp
Expand Up @@ -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();
}
Expand Down

0 comments on commit 572299a

Please sign in to comment.