Skip to content
Permalink
Browse files

QgsCoordinateTransformPrivate: set to default value a few member vari…

…ables in copy constructor to make cppcheck happy
  • Loading branch information
rouault committed Jun 1, 2020
1 parent adc79b4 commit ac5eb2c6331f9e1418c6de22808d142ee0edc4ac
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgscoordinatetransform_p.cpp
@@ -113,6 +113,9 @@ QgsCoordinateTransformPrivate::QgsCoordinateTransformPrivate( const QgsCoordinat
, mShouldReverseCoordinateOperation( other.mShouldReverseCoordinateOperation )
, mAllowFallbackTransforms( other.mAllowFallbackTransforms )
, mIsReversed( other.mIsReversed )
, mProjLock()
, mProjProjections()
, mProjFallbackProjections()
{
#if PROJ_VERSION_MAJOR < 6
//must reinitialize to setup mSourceProjection and mDestinationProjection

0 comments on commit ac5eb2c

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