Skip to content
Permalink
Browse files
Unique ptr
  • Loading branch information
pblottiere committed Jun 17, 2021
1 parent a36e608 commit 64fd02bb20568b723e12eb95532dbaccaba56a94
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsmaptoolidentify.cpp
@@ -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;

0 comments on commit 64fd02b

Please sign in to comment.