Skip to content

Commit d0e9472

Browse files
committedJun 27, 2018
fix build with sip 4.18.1 (eg. ubuntu artful)
1 parent a652796 commit d0e9472

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎python/core/auto_generated/qgsvectordataprovider.sip.in

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Returns true if the layer contains at least one feature.
131131
.. versionadded:: 3.4
132132
%End
133133

134-
virtual QgsFeatureSource::FeatureAvailability hasFeatures() const final;
134+
virtual QgsFeatureSource::FeatureAvailability hasFeatures() const;
135135
%Docstring
136136
Will always return FeatureAvailability.FeaturesAvailable or
137137
FeatureAvailability.NoFeaturesAvailable.

‎scripts/sipify.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,7 @@ sub detect_non_method_member{
958958
do {no warnings 'uninitialized';
959959
$LINE =~ s/^(\s*template\s*<)(?:class|typename) (\w+>)(.*)$/$1$2$3/;
960960
$LINE =~ s/\s*\boverride\b//;
961+
$LINE =~ s/\s*\bfinal\b//;
961962
$LINE =~ s/\s*\bextern \b//;
962963
$LINE =~ s/\s*\bMAYBE_UNUSED \b//;
963964
$LINE =~ s/\s*\bNODISCARD \b//;

0 commit comments

Comments
 (0)
Please sign in to comment.