From 630a5ceb0aa3778b127f7f70315159139cfbdd71 Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Wed, 23 Nov 2011 08:40:08 +0000 Subject: [PATCH] Bug fix in exception cloning (thanks Johan Soderback for reporting it.) [SVN r75636] --- include/boost/exception/exception.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/boost/exception/exception.hpp b/include/boost/exception/exception.hpp index 9cdfd5c..96cd893 100644 --- a/include/boost/exception/exception.hpp +++ b/include/boost/exception/exception.hpp @@ -421,6 +421,12 @@ boost copy_boost_exception(this,&x); } + clone_impl( clone_impl const & x ): + T(x) + { + copy_boost_exception(this,&x); + } + ~clone_impl() throw() { }