add virtual destructors where needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9fd6e6ebfd
commit
38089c5a2a
22 changed files with 55 additions and 4 deletions
|
|
@ -4,6 +4,7 @@
|
|||
class Foo {
|
||||
public:
|
||||
int x;
|
||||
virtual ~Foo() { }
|
||||
virtual Foo* blah() { return this; }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue