Boost logo

Boost-Commit :

From: emil_at_[hidden]
Date: 2008-04-26 13:43:59


Author: emildotchevski
Date: 2008-04-26 13:43:58 EDT (Sat, 26 Apr 2008)
New Revision: 44781
URL: http://svn.boost.org/trac/boost/changeset/44781

Log:
Added protected destructor to the base type error_info_base
Text files modified:
   trunk/boost/exception/info.hpp | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Modified: trunk/boost/exception/info.hpp
==============================================================================
--- trunk/boost/exception/info.hpp (original)
+++ trunk/boost/exception/info.hpp 2008-04-26 13:43:58 EDT (Sat, 26 Apr 2008)
@@ -36,6 +36,12 @@
 
             virtual std::type_info const & tag_typeid() const = 0;
             virtual std::string value_as_string() const = 0;
+
+ protected:
+
+ ~error_info_base()
+ {
+ }
             };
         }
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk