Skip to content
Permalink
Browse files

[sipify] fix again template inheritance

  • Loading branch information
3nids committed Jun 13, 2017
1 parent a3b64e2 commit 5a5dc31f0185b7e30d130867ca72c72c40c90627
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/sipify.pl
@@ -524,8 +524,8 @@ sub detect_comment_block{
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;

0 comments on commit 5a5dc31

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