forked from boostorg/exception
fix for mutable problem, thanks Peter Klotz
[SVN r48270]
This commit is contained in:
@ -98,7 +98,7 @@ boost
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
detail::atomic_count mutable count_;
|
mutable detail::atomic_count count_;
|
||||||
|
|
||||||
void
|
void
|
||||||
add_ref() const
|
add_ref() const
|
||||||
|
@ -105,7 +105,7 @@ boost
|
|||||||
template <class ErrorInfo,class E>
|
template <class ErrorInfo,class E>
|
||||||
friend shared_ptr<typename ErrorInfo::value_type const> get_error_info( E const & );
|
friend shared_ptr<typename ErrorInfo::value_type const> get_error_info( E const & );
|
||||||
|
|
||||||
intrusive_ptr<exception_detail::error_info_container> mutable data_;
|
mutable intrusive_ptr<exception_detail::error_info_container> data_;
|
||||||
};
|
};
|
||||||
|
|
||||||
#if BOOST_WORKAROUND( BOOST_MSVC, BOOST_TESTED_AT(1500) ) //See above.
|
#if BOOST_WORKAROUND( BOOST_MSVC, BOOST_TESTED_AT(1500) ) //See above.
|
||||||
|
@ -201,8 +201,8 @@ virtual //Disable bogus GCC warning.
|
|||||||
|
|
||||||
typedef std::map< typeinfo, shared_ptr<error_info_base const> > error_info_map;
|
typedef std::map< typeinfo, shared_ptr<error_info_base const> > error_info_map;
|
||||||
error_info_map info_;
|
error_info_map info_;
|
||||||
std::string mutable what_;
|
mutable std::string what_;
|
||||||
int mutable count_;
|
mutable int count_;
|
||||||
|
|
||||||
void
|
void
|
||||||
add_ref() const
|
add_ref() const
|
||||||
|
Reference in New Issue
Block a user