Tweak %extend templates
Previous commit turned on the generation of an extra extend function wrapper of a member template function when %template was inside a %extend block instead of calling the real member template - reversed this side effect.
This commit is contained in:
parent
f3029dda7d
commit
83519138e8
2 changed files with 5 additions and 3 deletions
|
|
@ -372,7 +372,8 @@ static void add_symbols(Node *n) {
|
|||
}
|
||||
|
||||
if (extendmode) {
|
||||
Setattr(n,"isextendmember","1");
|
||||
if (!Getattr(n, "template"))
|
||||
SetFlag(n,"isextendmember");
|
||||
}
|
||||
|
||||
if (!isfriend && inclass) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue