Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix clang tidy warning
  • Loading branch information
nyalldawson committed May 10, 2023
1 parent 4239e85 commit 5ed627e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgstiles.cpp
Expand Up @@ -402,7 +402,7 @@ QDomElement QgsTileMatrixSet::writeXml( QDomDocument &document, const QgsReadWri
QVector<QgsTileXYZ> QgsTileMatrixSet::tilesInRange( QgsTileRange range, int zoomLevel ) const
{
QVector<QgsTileXYZ> tiles;
tiles.reserve( static_cast< std::size_t>( range.endColumn() - range.startColumn() + 1 ) * ( range.endRow() - range.startRow() + 1 ) );
tiles.reserve( ( range.endColumn() - range.startColumn() + 1 ) * ( range.endRow() - range.startRow() + 1 ) );

for ( int tileRow = range.startRow(); tileRow <= range.endRow(); ++tileRow )
{
Expand Down

0 comments on commit 5ed627e

Please sign in to comment.