Skip to content
Permalink
Browse files

Do not initialize unique_ptr to nullptr

  • Loading branch information
elpaso committed Jan 15, 2018
1 parent 75e613c commit eeaca6891b307d7bca2ab0bc2cf839bca9049176
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsrasterlayerproperties.h
@@ -206,7 +206,7 @@ class APP_EXPORT QgsRasterLayerProperties : public QgsOptionsDialogBase, private
qreal mGradientWidth;

QgsMapCanvas *mMapCanvas = nullptr;
std::unique_ptr<QgsMapToolEmitPoint> mPixelSelectorTool = nullptr;
std::unique_ptr<QgsMapToolEmitPoint> mPixelSelectorTool;

QgsRasterHistogramWidget *mHistogramWidget = nullptr;

0 comments on commit eeaca68

Please sign in to comment.
You can’t perform that action at this time.