We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69a6f68 commit be1e198Copy full SHA for be1e198
src/core/qgsgeometryvertexindex.cpp
@@ -30,7 +30,10 @@ QgsGeometryVertexIndex::QgsGeometryVertexIndex( QgsGeometryVertexIndex const & r
30
31
QgsGeometryVertexIndex & QgsGeometryVertexIndex::operator=( QgsGeometryVertexIndex const & rhs )
32
{
33
- mIndex = rhs.mIndex;
+ if(&rhs != this)
34
+ {
35
+ mIndex = rhs.mIndex;
36
+ }
37
return *this;
38
}
39
0 commit comments