typo in comment
This commit is contained in:
parent
a71bb2bc6e
commit
b15e058a27
1 changed files with 1 additions and 1 deletions
|
|
@ -2095,7 +2095,7 @@ int R::functionWrapper(Node *n) {
|
||||||
String * classtypeobj = NewString(Getattr(parent, "classtypeobj")); // this is the correct name, e.g. ClassName(int)
|
String * classtypeobj = NewString(Getattr(parent, "classtypeobj")); // this is the correct name, e.g. ClassName(int)
|
||||||
String * classtype = NewString(Getattr(parent, "classtype")); // this is the "wrong" name e.g. ClassName<int>
|
String * classtype = NewString(Getattr(parent, "classtype")); // this is the "wrong" name e.g. ClassName<int>
|
||||||
|
|
||||||
// we replace inside smartname ClassName<int> with ClassName<int>
|
// we replace inside smartname ClassName<int> with ClassName(int)
|
||||||
String * smartname_fixed = NewString(smartname);
|
String * smartname_fixed = NewString(smartname);
|
||||||
Replaceall(classtype, " ", ""); // classtype actually has spaces inside so we remove them
|
Replaceall(classtype, " ", ""); // classtype actually has spaces inside so we remove them
|
||||||
Replaceall(smartname_fixed, classtype, classtypeobj);
|
Replaceall(smartname_fixed, classtype, classtypeobj);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue