Skip to content
Permalink
Browse files

Use qgis::make_unique

  • Loading branch information
wonder-sk authored and nyalldawson committed Mar 18, 2021
1 parent d8d18b2 commit db732fc066394c14171d90623244da5294d01b49
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/analysis/testqgsprocessingalgs.cpp
@@ -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;

0 comments on commit db732fc

Please sign in to comment.