Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
QgsGdalProvider copy cstor: silence false positive cppcheck warning
  • Loading branch information
rouault committed May 29, 2020
1 parent da0baf4 commit e86517e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/providers/gdal/qgsgdalprovider.cpp
Expand Up @@ -216,6 +216,7 @@ QgsGdalProvider::QgsGdalProvider( const QgsGdalProvider &other )
if ( forceUseSameDataset )
{
++ ( *other.mpRefCounter );
// cppcheck-suppress copyCtorPointerCopying
mpRefCounter = other.mpRefCounter;
mpMutex = other.mpMutex;
mpLightRefCounter = new QAtomicInt( 1 );
Expand Down

0 comments on commit e86517e

Please sign in to comment.