fix for mutable problem, thanks Peter Klotz

[SVN r48270]
This commit is contained in:
Emil Dotchevski
2008-08-20 21:48:35 +00:00
parent e05771c0c4
commit 14765312e2
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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.

View File

@ -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