Skip to content

Commit

Permalink
Consify
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 11, 2017
1 parent 2474498 commit 6dc7b57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayerfeatureiterator.cpp
Expand Up @@ -93,7 +93,7 @@ QgsFeatureIterator QgsVectorLayerFeatureSource::getFeatures( const QgsFeatureReq
return QgsFeatureIterator( new QgsVectorLayerFeatureIterator( this, false, request ) );
}

QgsFields QgsVectorLayerFeatureSource::fields()
QgsFields QgsVectorLayerFeatureSource::fields() const
{
return mFields;
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayerfeatureiterator.h
Expand Up @@ -59,7 +59,7 @@ class CORE_EXPORT QgsVectorLayerFeatureSource : public QgsAbstractFeatureSource
*
* \since QGIS 3.0
*/
QgsFields fields();
QgsFields fields() const;

protected:

Expand Down

0 comments on commit 6dc7b57

Please sign in to comment.