Skip to content

Commit e2d75d5

Browse files
committedApr 3, 2018
Fix Coverity large argument passed by value warning
1 parent eb39579 commit e2d75d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgstestutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
///@cond PRIVATE
2121
///
2222

23-
static void getFeaturesForProvider( QPair< QgsVectorDataProvider *, QgsFeatureRequest > pair )
23+
static void getFeaturesForProvider( const QPair< QgsVectorDataProvider *, QgsFeatureRequest > &pair )
2424
{
2525
QgsFeatureIterator it = pair.first->getFeatures( pair.second );
2626
QgsFeature f;

0 commit comments

Comments
 (0)
Please sign in to comment.