Skip to content
Permalink
Browse files

Make QgsVectorDataProvider::hasFeatures() final

  • Loading branch information
m-kuhn committed Jun 4, 2018
1 parent 5fb9d14 commit 6049e4074f3d6c4c91e961558fbddb9949929958
Showing with 2 additions and 2 deletions.
  1. +1 −1 python/core/auto_generated/qgsvectordataprovider.sip.in
  2. +1 −1 src/core/qgsvectordataprovider.h
@@ -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.
@@ -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.

0 comments on commit 6049e40

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