From fd94d5ec14cc4fafc23ccb70ccb08bcb6835f7d5 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Wed, 1 Sep 2004 08:43:17 +0000 Subject: [PATCH] fix warnings with virtual destructor git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6196 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Examples/python/import/base.h | 2 +- SWIG/Examples/python/import_template/base.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SWIG/Examples/python/import/base.h b/SWIG/Examples/python/import/base.h index be3cdef7d..5a266f68c 100644 --- a/SWIG/Examples/python/import/base.h +++ b/SWIG/Examples/python/import/base.h @@ -3,7 +3,7 @@ class Base { public: Base() { }; - ~Base() { }; + virtual ~Base() { }; virtual void A() { printf("I'm Base::A\n"); } diff --git a/SWIG/Examples/python/import_template/base.h b/SWIG/Examples/python/import_template/base.h index a56441e14..c755a6f9d 100644 --- a/SWIG/Examples/python/import_template/base.h +++ b/SWIG/Examples/python/import_template/base.h @@ -3,7 +3,7 @@ template class Base { public: Base() { }; - ~Base() { }; + virtual ~Base() { }; virtual void A() { printf("I'm Base::A\n"); }