diff --git a/include/boost/exception/detail/exception_ptr.hpp b/include/boost/exception/detail/exception_ptr.hpp index 85ad5a0..2eab7de 100644 --- a/include/boost/exception/detail/exception_ptr.hpp +++ b/include/boost/exception/detail/exception_ptr.hpp @@ -359,7 +359,7 @@ boost catch( std::bad_exception & e ) { - return exception_detail::exception_ptr_static_exception_object::e; + return exception_detail::current_exception_std_exception(e); } catch( std::exception & e )