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:
Marcelo Matus 2005-10-25 09:33:42 +00:00
commit cf9c5fb721
4 changed files with 8 additions and 7 deletions

View file

@ -1833,7 +1833,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) { }", classname, target, call );
Printf( w->def, "%s::%s: Swig::Director(self), %s { }", classname, target, call );
Delete(target);
Wrapper_print(w, f_directors);
Delete(call);