From e1bd18f6a6f1da557c6a1886a014d9628fe56c9d Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 27 Jun 2004 15:09:46 +0000 Subject: [PATCH] Made value_ mutable to enable operator long() const to compile [SVN r23208] --- include/boost/detail/atomic_count_gcc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/detail/atomic_count_gcc.hpp b/include/boost/detail/atomic_count_gcc.hpp index c3d29a8..b4a46ce 100644 --- a/include/boost/detail/atomic_count_gcc.hpp +++ b/include/boost/detail/atomic_count_gcc.hpp @@ -51,7 +51,7 @@ private: atomic_count(atomic_count const &); atomic_count & operator=(atomic_count const &); - _Atomic_word value_; + mutable _Atomic_word value_; }; } // namespace detail