Skip to content
Permalink
Browse files

Initialize to nullptr

  • Loading branch information
m-kuhn committed Sep 18, 2018
1 parent e157a7c commit 6db25b971f76463eae4538deebf10b20df054d9f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/analysis/vector/geometry_checker/qgssinglegeometrycheck.h
@@ -72,7 +72,7 @@ class ANALYSIS_EXPORT QgsSingleGeometryCheckError
QgsVertexId vertexId() const;

protected:
const QgsSingleGeometryCheck *mCheck;
const QgsSingleGeometryCheck *mCheck = nullptr;
QgsGeometry mGeometry;
QgsPoint mErrorLocation;
QgsVertexId mVertexId;
@@ -99,7 +99,7 @@ class ANALYSIS_EXPORT QgsGeometryCheckErrorSingle : public QgsGeometryCheckError
bool handleChanges( const QgsGeometryCheck::Changes &changes ) override;

private:
QgsSingleGeometryCheckError *mError;
QgsSingleGeometryCheckError *mError = nullptr;
};

/**

0 comments on commit 6db25b9

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