add in missing virtual destructor

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-07-04 20:49:55 +00:00
commit da0f95ec8f
3 changed files with 3 additions and 1 deletions

View file

@ -12,6 +12,7 @@ public:
};
class Derived : private Base {
public:
virtual ~Derived() {}
virtual void VirtualMethod() {}
int variable;
};