Skip to content
Permalink
Browse files

Style

  • Loading branch information
nyalldawson committed Jun 28, 2018
1 parent d21af30 commit 73eb7628d8a7fcaabda06d76bfb6c57d249792f2
Showing with 2 additions and 1 deletion.
  1. +1 −0 python/core/auto_generated/qgsvectordataprovider.sip.in
  2. +1 −1 src/core/qgsvectordataprovider.h
@@ -132,6 +132,7 @@ Returns true if the layer contains at least one feature.
%End

virtual QgsFeatureSource::FeatureAvailability hasFeatures() const;

%Docstring
Will always return FeatureAvailability.FeaturesAvailable or
FeatureAvailability.NoFeaturesAvailable.
@@ -180,7 +180,7 @@ class CORE_EXPORT QgsVectorDataProvider : public QgsDataProvider, public QgsFeat
* \see empty()
* \since QGIS 3.4
*/
virtual QgsFeatureSource::FeatureAvailability hasFeatures() const;
QgsFeatureSource::FeatureAvailability hasFeatures() const override;

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

0 comments on commit 73eb762

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