make base director class virtual and eliminate compilation warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7712 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0b9e32fb3e
commit
cf9c5fb721
4 changed files with 8 additions and 7 deletions
|
|
@ -1812,7 +1812,7 @@ public:
|
|||
String *basetype = Getattr(parent, "classtype");
|
||||
String *target = Swig_method_decl(decl, classname, parms, 0, 0);
|
||||
call = Swig_csuperclass_call(0, basetype, superparms);
|
||||
Printf(w->def, "%s::%s: %s, Swig::Director(self) { \n", classname, target, call);
|
||||
Printf(w->def, "%s::%s: Swig::Director(self), %s { \n", classname, target, call);
|
||||
Printf(w->def, " SWIG_DIRECTOR_RGTR((%s *)this, this); \n", basetype);
|
||||
Printf(w->def, "}\n");
|
||||
Delete(target);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue