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:
parent
5e638de46c
commit
da0f95ec8f
3 changed files with 3 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ public:
|
|||
};
|
||||
class Derived : private Base {
|
||||
public:
|
||||
virtual ~Derived() {}
|
||||
virtual void VirtualMethod() {}
|
||||
int variable;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue