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:
William S Fulton 2017-01-23 23:21:20 +00:00
commit 83519138e8
2 changed files with 5 additions and 3 deletions

View file

@ -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) {