From 0207a9b24f128aacd80627decb4c561dc2f83708 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 6 Jan 2013 01:49:25 +0000 Subject: [PATCH] Add CHANGES note for virtual destructor in templates bug in prev commit --- CHANGES.current | 5 +++++ .../test-suite/template_default_arg_virtual_destructor.i | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES.current b/CHANGES.current index 21978e1d9..6be460a1e 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -5,6 +5,11 @@ See the RELEASENOTES file for a summary of changes in each release. Version 2.0.10 (in progress) ============================ +2013-01-06: wsfulton + Pull patch #4 from ptomulik to fix SF Bug #1296 - Fix incorrect warning for virtual destructors + in templates, such as: + Warning 521: Illegal destructor name B< A >::~B(). Ignored. + 2013-01-05: wsfulton [Python] Pull patch #3 from ptomulik to fix SF Bug #1295 - standard exceptions as classes using the SWIG_STD_EXCEPTIONS_AS_CLASSES macro. diff --git a/Examples/test-suite/template_default_arg_virtual_destructor.i b/Examples/test-suite/template_default_arg_virtual_destructor.i index 319d5b837..844e9225b 100644 --- a/Examples/test-suite/template_default_arg_virtual_destructor.i +++ b/Examples/test-suite/template_default_arg_virtual_destructor.i @@ -21,4 +21,4 @@ template }; %} %template(B_AF) B; -%template(B_A) B; // this instantiation triggert the warning +%template(B_A) B; // this instantiation triggers the warning