We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3b64e2 commit 5a5dc31Copy full SHA for 5a5dc31
scripts/sipify.pl
@@ -524,8 +524,8 @@ sub detect_comment_block{
524
push @template_inheritance_template, $1;
525
push @template_inheritance_class, $2;
526
}
527
- $m =~ s/(\b(?!QList)\w+)<((?:[\w ]|::)+)>/$1${2}Base/g; # use the typeded as template inheritance
528
- $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
529
$m =~ s/([:,])\s*,/$1/g;
530
$m =~ s/(\s*[:,])?\s*$//;
531
$LINE .= $m;
0 commit comments