mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
[sipify] fix again template inheritance
This commit is contained in:
parent
a3b64e2541
commit
5a5dc31f01
@ -524,8 +524,8 @@ while ($LINE_IDX < $LINE_COUNT){
|
||||
push @template_inheritance_template, $1;
|
||||
push @template_inheritance_class, $2;
|
||||
}
|
||||
$m =~ s/(\b(?!QList)\w+)<((?:[\w ]|::)+)>/$1${2}Base/g; # use the typeded as template inheritance
|
||||
$m =~ s/(\w+)<((?:[\w ]|::)+)>//g; # remove remaining templates
|
||||
$m =~ s/(\b(?!QList)\w+)< *((?:\w|::)+) *>/$1${2}Base/g; # use the typeded as template inheritance
|
||||
$m =~ s/(\w+)< *((?:w|::)+) *>//g; # remove remaining templates
|
||||
$m =~ s/([:,])\s*,/$1/g;
|
||||
$m =~ s/(\s*[:,])?\s*$//;
|
||||
$LINE .= $m;
|
||||
|
Loading…
x
Reference in New Issue
Block a user