Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 35862a6

Browse files
committedApr 22, 2023
fix var name
1 parent 0071ebc commit 35862a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎scripts/sipify.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ sub detect_non_method_member{
989989
} elsif ( $cls3 eq ""){
990990
$LINE .= "\ntypedef $tpl<$cls1,$cls2> ${tpl}${cls1}${cls2}Base;";
991991
} else {
992-
$LINE .= "\ntypedef $tpl<$cls1,$cls2,$cls3> ${tpl}${cls1}${cls2}{cls3}Base;";
992+
$LINE .= "\ntypedef $tpl<$cls1,$cls2,$cls3> ${tpl}${cls1}${cls2}${cls3}Base;";
993993
}
994994
}
995995
if ( PRIVATE ~~ @ACCESS && $#ACCESS != 0){

‎tests/code_layout/sipify/sipifyheader.expected.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ class TemplateInheritance6 : SomethingElse, YourSuperTemplateAbcDefGhiBase
452452
%TypeHeaderCode
453453
#include "sipifyheader.h"
454454
#include "yoursupertemplate.h"
455-
typedef YourSuperTemplate<Abc,Def,Ghi> YourSuperTemplateAbcDef{cls3}Base;
455+
typedef YourSuperTemplate<Abc,Def,Ghi> YourSuperTemplateAbcDefGhiBase;
456456
%End
457457
}
458458

0 commit comments

Comments
 (0)
Please sign in to comment.