]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
'mutable' should be at the beginning of the declaration.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Sep 2008 18:54:40 +0000 (18:54 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Sep 2008 18:54:40 +0000 (18:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@17061 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/boost/include/boost/exception/enable_current_exception.hpp
deal.II/contrib/boost/include/boost/exception/exception.hpp

index 751fe7364b0087867a475f9a81ba2d06a1b017fd..4c17fb0bffbaad906d37c67f0ffd80b2fcd1f953 100644 (file)
@@ -98,7 +98,7 @@ boost
 
             private:
 
-            detail::atomic_count mutable count_;
+            mutable detail::atomic_count count_;
 
             void
             add_ref() const
index d128cd373cd82380efa4468e8a2a4c4cd88167ff..467048146833deea3cab92af37eae19061a52fb7 100644 (file)
@@ -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.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.