Skip to content

Commit

Permalink
Improve range loop
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 20, 2020
1 parent 35a06f9 commit b298e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis/mesh/qgsmeshtriangulation.cpp
Expand Up @@ -286,7 +286,7 @@ QDomElement QgsMeshZValueDatasetGroup::writeXml( QDomDocument &doc, const QgsRea

QgsMeshZValueDataset::QgsMeshZValueDataset( const QgsMesh &mesh ): mMesh( mesh )
{
for ( const QgsMeshVertex vertex : mMesh.vertices )
for ( const QgsMeshVertex &vertex : mesh.vertices )
{
if ( vertex.z() < mZMinimum )
mZMinimum = vertex.z();
Expand Down

0 comments on commit b298e8d

Please sign in to comment.