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_; };