Skip to content
Permalink
Browse files

fix build with sip 4.18.1 (eg. ubuntu artful)

  • Loading branch information
jef-n committed Jun 27, 2018
1 parent a652796 commit d0e94728d851a3aa68d5c575f1f71fc79edf60f6
Showing with 2 additions and 1 deletion.
  1. +1 −1 python/core/auto_generated/qgsvectordataprovider.sip.in
  2. +1 −0 scripts/sipify.pl
@@ -131,7 +131,7 @@ Returns true if the layer contains at least one feature.
.. versionadded:: 3.4
%End

virtual QgsFeatureSource::FeatureAvailability hasFeatures() const final;
virtual QgsFeatureSource::FeatureAvailability hasFeatures() const;
%Docstring
Will always return FeatureAvailability.FeaturesAvailable or
FeatureAvailability.NoFeaturesAvailable.
@@ -958,6 +958,7 @@ sub detect_non_method_member{
do {no warnings 'uninitialized';
$LINE =~ s/^(\s*template\s*<)(?:class|typename) (\w+>)(.*)$/$1$2$3/;
$LINE =~ s/\s*\boverride\b//;
$LINE =~ s/\s*\bfinal\b//;
$LINE =~ s/\s*\bextern \b//;
$LINE =~ s/\s*\bMAYBE_UNUSED \b//;
$LINE =~ s/\s*\bNODISCARD \b//;

0 comments on commit d0e9472

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