From: bangerth Date: Tue, 30 Sep 2008 18:54:40 +0000 (+0000) Subject: 'mutable' should be at the beginning of the declaration. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd11a434909e423544f16fbc7ba4e5809f41a53e;p=dealii-svn.git 'mutable' should be at the beginning of the declaration. git-svn-id: https://svn.dealii.org/trunk@17061 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/contrib/boost/include/boost/exception/enable_current_exception.hpp b/deal.II/contrib/boost/include/boost/exception/enable_current_exception.hpp index 751fe7364b..4c17fb0bff 100644 --- a/deal.II/contrib/boost/include/boost/exception/enable_current_exception.hpp +++ b/deal.II/contrib/boost/include/boost/exception/enable_current_exception.hpp @@ -98,7 +98,7 @@ boost private: - detail::atomic_count mutable count_; + mutable detail::atomic_count count_; void add_ref() const diff --git a/deal.II/contrib/boost/include/boost/exception/exception.hpp b/deal.II/contrib/boost/include/boost/exception/exception.hpp index d128cd373c..4670481468 100644 --- a/deal.II/contrib/boost/include/boost/exception/exception.hpp +++ b/deal.II/contrib/boost/include/boost/exception/exception.hpp @@ -105,7 +105,7 @@ boost template friend shared_ptr get_error_info( E const & ); - intrusive_ptr mutable data_; + mutable intrusive_ptr data_; }; #if BOOST_WORKAROUND( BOOST_MSVC, BOOST_TESTED_AT(1500) ) //See above.