Skip to content

Commit

Permalink
Unique ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Jun 17, 2021
1 parent a36e608 commit 64fd02b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsmaptoolidentify.cpp
Expand Up @@ -944,7 +944,7 @@ bool QgsMapToolIdentify::identifyRasterLayer( QList<IdentifyResult> *results, Qg
if ( !layer )
return false;

QgsRasterDataProvider *dprovider = layer->dataProvider()->clone();
std::unique_ptr< QgsRasterDataProvider > dprovider( layer->dataProvider()->clone() );
if ( !dprovider )
return false;

Expand Down

0 comments on commit 64fd02b

Please sign in to comment.