Skip to content
Permalink
Browse files
QgsRasterLayer: make sure mRasterType member is initialized
  • Loading branch information
rouault authored and nyalldawson committed Jul 22, 2021
1 parent 7568477 commit e7a7bf32f9c70ef87be851e1210362b5047048f7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/raster/qgsrasterlayer.h
@@ -556,7 +556,7 @@ class CORE_EXPORT QgsRasterLayer : public QgsMapLayer

QgsRasterViewPort mLastViewPort;

LayerType mRasterType;
LayerType mRasterType = GrayOrUndefined;

std::unique_ptr< QgsRasterPipe > mPipe;

0 comments on commit e7a7bf3

Please sign in to comment.