We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 343bc8a commit 34e307bCopy full SHA for 34e307b
src/core/qgscoordinatereferencesystem_p.h
@@ -65,7 +65,7 @@ class QgsCoordinateReferenceSystemPrivate : public QSharedData
65
, mSRID( other.mSRID )
66
, mAuthId( other.mAuthId )
67
, mIsValid( other.mIsValid )
68
- , mCRS( OSRNewSpatialReference( nullptr ) )
+ , mCRS( nullptr )
69
, mValidationHint( other.mValidationHint )
70
, mWkt( other.mWkt )
71
, mProj4( other.mProj4 )
@@ -76,6 +76,10 @@ class QgsCoordinateReferenceSystemPrivate : public QSharedData
76
{
77
mCRS = OSRClone( other.mCRS );
78
}
79
+ else
80
+ {
81
+ mCRS = OSRNewSpatialReference( nullptr );
82
+ }
83
84
85
~QgsCoordinateReferenceSystemPrivate()
0 commit comments