Skip to content

Commit

Permalink
[Geometry checker] Fix duplicate code in QgsGeometrySelfIntersectionC…
Browse files Browse the repository at this point in the history
…heckError::isEqual

These checks are already performed by QgsGeometryCheckError::isEqual
  • Loading branch information
manisandro committed Mar 7, 2017
1 parent cad9e46 commit db138ff
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
bool QgsGeometrySelfIntersectionCheckError::isEqual( QgsGeometryCheckError *other ) const
{
return QgsGeometryCheckError::isEqual( other ) &&
other->featureId() == featureId() &&
other->vidx() == vidx() &&
static_cast<QgsGeometrySelfIntersectionCheckError *>( other )->intersection().segment1 == intersection().segment1 &&
static_cast<QgsGeometrySelfIntersectionCheckError *>( other )->intersection().segment2 == intersection().segment2;
}
Expand Down

0 comments on commit db138ff

Please sign in to comment.