From 85e3d1f5c34b5c5109fa31b97e13972b2e034f8c Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Sun, 31 Aug 2008 01:58:48 +0000 Subject: [PATCH] removed explicit copy ctor in boost::exception [SVN r48483] --- include/boost/exception/exception.hpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/include/boost/exception/exception.hpp b/include/boost/exception/exception.hpp index 5a15480..645d237 100644 --- a/include/boost/exception/exception.hpp +++ b/include/boost/exception/exception.hpp @@ -14,7 +14,7 @@ boost { class exception; - template + template class shared_ptr; namespace @@ -56,11 +56,6 @@ boost { } - exception( exception const & e ): - data_(e.data_) - { - } - virtual ~exception() throw()=0; char const * @@ -80,11 +75,11 @@ boost private: - friend void exception_detail::set_data( exception const *, shared_ptr const &, exception_detail::type_info_ const & ); - template friend shared_ptr exception_detail::get_data( exception const & ); + friend void exception_detail::set_data( exception const *, shared_ptr const &, exception_detail::type_info_ const & ); + mutable exception_detail::refcount_ptr data_; };