mirror of
https://github.com/boostorg/exception.git
synced 2025-07-24 01:27:21 +02:00
fix for mutable problem, thanks Peter Klotz
[SVN r48270]
This commit is contained in:
@ -98,7 +98,7 @@ boost
|
||||
|
||||
private:
|
||||
|
||||
detail::atomic_count mutable count_;
|
||||
mutable detail::atomic_count count_;
|
||||
|
||||
void
|
||||
add_ref() const
|
||||
|
@ -105,7 +105,7 @@ boost
|
||||
template <class ErrorInfo,class E>
|
||||
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.
|
||||
|
@ -201,8 +201,8 @@ virtual //Disable bogus GCC warning.
|
||||
|
||||
typedef std::map< typeinfo, shared_ptr<error_info_base const> > error_info_map;
|
||||
error_info_map info_;
|
||||
std::string mutable what_;
|
||||
int mutable count_;
|
||||
mutable std::string what_;
|
||||
mutable int count_;
|
||||
|
||||
void
|
||||
add_ref() const
|
||||
|
Reference in New Issue
Block a user