Skip to content

Commit

Permalink
QgsGdalProvider: declare deleted assignment operator as the class has…
Browse files Browse the repository at this point in the history
… pointer member variables
  • Loading branch information
rouault committed May 29, 2020
1 parent 4d4958b commit da0baf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/providers/gdal/qgsgdalprovider.h
Expand Up @@ -207,6 +207,7 @@ class QgsGdalProvider final: public QgsRasterDataProvider, QgsGdalProviderBase

private:
QgsGdalProvider( const QgsGdalProvider &other );
QgsGdalProvider &operator=( const QgsGdalProvider & ) = delete;

//! Whether mGdalDataset and mGdalBaseDataset have been attempted to be set
bool mHasInit = false;
Expand Down

0 comments on commit da0baf4

Please sign in to comment.