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