Fix Coverity large argument passed by value warning

This commit is contained in:
Nyall Dawson 2018-04-02 08:08:08 +10:00
parent eb39579837
commit e2d75d5516

View File

@ -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;