Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix Coverity large argument passed by value warning
  • Loading branch information
nyalldawson committed Apr 3, 2018
1 parent eb39579 commit e2d75d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgstestutils.cpp
Expand Up @@ -20,7 +20,7 @@
///@cond PRIVATE
///

static void getFeaturesForProvider( QPair< QgsVectorDataProvider *, QgsFeatureRequest > pair )
static void getFeaturesForProvider( const QPair< QgsVectorDataProvider *, QgsFeatureRequest > &pair )
{
QgsFeatureIterator it = pair.first->getFeatures( pair.second );
QgsFeature f;
Expand Down

0 comments on commit e2d75d5

Please sign in to comment.