Skip to content

Commit

Permalink
Make QgsVectorDataProvider::hasFeatures() final
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jun 4, 2018
1 parent 5fb9d14 commit 6049e40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/core/auto_generated/qgsvectordataprovider.sip.in
Expand Up @@ -131,7 +131,7 @@ Returns true if the layer contains at least one feature.
.. versionadded:: 3.2
%End

virtual QgsFeatureSource::FeatureAvailability hasFeatures() const;
virtual QgsFeatureSource::FeatureAvailability hasFeatures() const final;
%Docstring
Will always return FeatureAvailability.FeaturesAvailable or
FeatureAvailability.FeaturesMaybeAvailable.
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsvectordataprovider.h
Expand Up @@ -180,7 +180,7 @@ class CORE_EXPORT QgsVectorDataProvider : public QgsDataProvider, public QgsFeat
* \since QGIS 3.2
* \see empty()
*/
virtual QgsFeatureSource::FeatureAvailability hasFeatures() const override;
virtual QgsFeatureSource::FeatureAvailability hasFeatures() const final;

/**
* Returns the fields associated with this data provider.
Expand Down

0 comments on commit 6049e40

Please sign in to comment.