Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 52c1e94

Browse files
agiudiceandreagithub-actions[bot]
authored andcommittedApr 3, 2023
[Geometry Checker] Fix availableResolutionMethods()
1 parent 54498f0 commit 52c1e94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/analysis/vector/geometry_checker/qgsgeometrycheck.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ QList<QgsGeometryCheckResolutionMethod> QgsGeometryCheck::availableResolutionMet
6565
const QStringList methods = resolutionMethods();
6666
Q_NOWARN_DEPRECATED_POP
6767

68-
const int i = 0;
68+
int i = 0;
6969
for ( const QString &method : methods )
7070
{
71-
fixes.append( QgsGeometryCheckResolutionMethod( i, method, QString(), false ) );
71+
fixes.append( QgsGeometryCheckResolutionMethod( i++, method, QString(), false ) );
7272
}
7373

7474
return fixes;

0 commit comments

Comments
 (0)
Please sign in to comment.