|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57765 - in trunk/boost: . exception/detail
From: emil_at_[hidden]
Date: 2009-11-18 18:05:56
Author: emildotchevski
Date: 2009-11-18 18:05:55 EST (Wed, 18 Nov 2009)
New Revision: 57765
URL: http://svn.boost.org/trac/boost/changeset/57765
Log:
Bug ticket 3641, also merging other fixes from the Release branch.
Text files modified:
trunk/boost/exception/detail/exception_ptr_base.hpp | 7 +++++++
trunk/boost/exception_ptr.hpp | 4 ++++
2 files changed, 11 insertions(+), 0 deletions(-)
Modified: trunk/boost/exception/detail/exception_ptr_base.hpp
==============================================================================
--- trunk/boost/exception/detail/exception_ptr_base.hpp (original)
+++ trunk/boost/exception/detail/exception_ptr_base.hpp 2009-11-18 18:05:55 EST (Wed, 18 Nov 2009)
@@ -19,6 +19,13 @@
virtual void _rethrow() const=0;
virtual bool _empty() const=0;
+
+ protected:
+
+ virtual
+ ~exception_ptr_base() throw()
+ {
+ }
};
}
}
Modified: trunk/boost/exception_ptr.hpp
==============================================================================
--- trunk/boost/exception_ptr.hpp (original)
+++ trunk/boost/exception_ptr.hpp 2009-11-18 18:05:55 EST (Wed, 18 Nov 2009)
@@ -90,6 +90,10 @@
{
}
+ ~exception_ptr() throw()
+ {
+ }
+
operator unspecified_bool_type() const
{
return _empty() ? 0 : &exception_ptr::bad_alloc_;
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