Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75636 - trunk/boost/exception
From: emil_at_[hidden]
Date: 2011-11-23 03:40:10


Author: emildotchevski
Date: 2011-11-23 03:40:08 EST (Wed, 23 Nov 2011)
New Revision: 75636
URL: http://svn.boost.org/trac/boost/changeset/75636

Log:
Bug fix in exception cloning (thanks Johan Soderback for reporting it.)
Text files modified:
   trunk/boost/exception/exception.hpp | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Modified: trunk/boost/exception/exception.hpp
==============================================================================
--- trunk/boost/exception/exception.hpp (original)
+++ trunk/boost/exception/exception.hpp 2011-11-23 03:40:08 EST (Wed, 23 Nov 2011)
@@ -421,6 +421,12 @@
                 copy_boost_exception(this,&x);
                 }
 
+ clone_impl( clone_impl const & x ):
+ T(x)
+ {
+ copy_boost_exception(this,&x);
+ }
+
             ~clone_impl() throw()
                 {
                 }


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