diff --git a/Source/SWIG1.1/cplus.cxx b/Source/SWIG1.1/cplus.cxx index 47cb5df9c..629211f93 100644 --- a/Source/SWIG1.1/cplus.cxx +++ b/Source/SWIG1.1/cplus.cxx @@ -1698,9 +1698,9 @@ void cplus_emit_destructor(char *classname, char *classtype, char *classrename, lang->create_function(Wrapper_Getname(w),iname,Wrapper_Gettype(w), Wrapper_Getparms(w)); } else { if (CPlusPlus) - emit_set_action(Swig_cppdestructor_call(fclassname)); + emit_set_action(Swig_cppdestructor_call()); else - emit_set_action(Swig_cdestructor_call(fclassname)); + emit_set_action(Swig_cdestructor_call()); lang->create_function(cname, iname, Wrapper_Gettype(w), Wrapper_Getparms(w)); } DelWrapper(w);