Skip to content
Permalink
Browse files

[Geometry checker] Fix duplicate code in QgsGeometrySelfIntersectionC…

…heckError::isEqual

These checks are already performed by QgsGeometryCheckError::isEqual
  • Loading branch information
manisandro committed Mar 7, 2017
1 parent cad9e46 commit db138ff8bce29dd99959826dcf7b2c9d6714bc6a
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/plugins/geometry_checker/checks/qgsgeometryselfintersectioncheck.cpp
@@ -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;
}

0 comments on commit db138ff

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