Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change postfix operator to prefix ++it
  • Loading branch information
uclaros committed Sep 4, 2020
1 parent e4dee7c commit 11a8bfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsvectorlayereditutils.cpp
Expand Up @@ -543,7 +543,7 @@ int QgsVectorLayerEditUtils::addTopologicalPoints( const QgsGeometry &geom )
{
returnVal = 2;
}
it++;
++it;
}

return returnVal;
Expand Down Expand Up @@ -647,7 +647,7 @@ int QgsVectorLayerEditUtils::addTopologicalPoints( const QgsPointSequence &ps )
{
pointsAdded = true;
}
it++;
++it;
}

return pointsAdded ? 0 : 2;
Expand Down

0 comments on commit 11a8bfa

Please sign in to comment.