Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
More loop references
  • Loading branch information
nyalldawson committed Aug 13, 2021
1 parent 4e13368 commit 90d76f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/providers/virtual/qgsvirtuallayerfeatureiterator.cpp
Expand Up @@ -227,7 +227,7 @@ QgsVirtualLayerFeatureIterator::QgsVirtualLayerFeatureIterator( QgsVirtualLayerF
}

mQuery.reset( new Sqlite::Query( mSource->mSqlite, mSqlQuery ) );
for ( const QVariant toBind : binded )
for ( const QVariant &toBind : binded )
{
mQuery->bind( toBind );
}
Expand Down
2 changes: 1 addition & 1 deletion src/providers/wfs/qgswfsshareddata.cpp
Expand Up @@ -200,7 +200,7 @@ QgsGmlStreamingParser *QgsWFSSharedData::createParser() const
{
QList< QgsGmlStreamingParser::LayerProperties > layerPropertiesList;
const auto constMLayerPropertiesList = mLayerPropertiesList;
for ( const QgsOgcUtils::LayerProperties layerProperties : constMLayerPropertiesList )
for ( const QgsOgcUtils::LayerProperties &layerProperties : constMLayerPropertiesList )
{
QgsGmlStreamingParser::LayerProperties layerPropertiesOut;
layerPropertiesOut.mName = layerProperties.mName;
Expand Down

0 comments on commit 90d76f1

Please sign in to comment.