Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 13, 2020
1 parent 3a00572 commit 7cd51dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/vectortile/qgsmapboxglstyleconverter.cpp
Expand Up @@ -2085,7 +2085,7 @@ QString QgsMapBoxGlStyleConverter::retrieveSpriteAsBase64( const QVariant &value
spriteName.replace( fieldNameMatch, QStringLiteral( "([^\\/\\\\]+)" ) );
QRegularExpression fieldValueMatch( spriteName );
const QStringList spriteNames = context.spriteDefinitions().keys();
for ( const QString name : spriteNames )
for ( const QString &name : spriteNames )
{
match = fieldValueMatch.match( name );
if ( match.hasMatch() )
Expand Down

0 comments on commit 7cd51dc

Please sign in to comment.