Skip to content
Permalink
Browse files
std::make_unique -> qgis::make_unique
  • Loading branch information
pathmapper authored and nyalldawson committed Jul 5, 2021
1 parent cd3ff91 commit 68bc29b0e62ec820c81a09758fff5321f9bb7a58
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 68bc29b

Please sign in to comment.