Skip to content
Permalink
Browse files

Fix Coverity large argument passed by value warning

  • Loading branch information
nyalldawson committed Apr 3, 2018
1 parent eb39579 commit e2d75d5516aafb17277a1c4553f0948259546ba3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgstestutils.cpp
@@ -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;

0 comments on commit e2d75d5

Please sign in to comment.
You can’t perform that action at this time.