Skip to content

Commit

Permalink
Do not initialize unique_ptr to nullptr
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jan 15, 2018
1 parent 75e613c commit eeaca68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsrasterlayerproperties.h
Expand Up @@ -206,7 +206,7 @@ class APP_EXPORT QgsRasterLayerProperties : public QgsOptionsDialogBase, private
qreal mGradientWidth; qreal mGradientWidth;


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


QgsRasterHistogramWidget *mHistogramWidget = nullptr; QgsRasterHistogramWidget *mHistogramWidget = nullptr;


Expand Down

0 comments on commit eeaca68

Please sign in to comment.