Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use qgis::make_unique
  • Loading branch information
wonder-sk authored and nyalldawson committed Mar 18, 2021
1 parent d8d18b2 commit db732fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/analysis/testqgsprocessingalgs.cpp
Expand Up @@ -6520,7 +6520,7 @@ void TestQgsProcessingAlgs::rasterize()
QVERIFY( nodePolygons );
nodePolygons->setItemVisibilityChecked( false );

std::unique_ptr< QgsProcessingContext > context = std::make_unique< QgsProcessingContext >();
std::unique_ptr< QgsProcessingContext > context = qgis::make_unique< QgsProcessingContext >();
context->setProject( &project );
QgsProcessingFeedback feedback;
QVariantMap results;
Expand Down

0 comments on commit db732fc

Please sign in to comment.