From c6bf857f8bee764d4381b9ff0ddae7b633d3a968 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 18 Mar 2005 21:27:22 +0000 Subject: [PATCH] Made the pthread mutex mutable [SVN r27740] --- include/boost/detail/sp_counted_base_pt.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/detail/sp_counted_base_pt.hpp b/include/boost/detail/sp_counted_base_pt.hpp index 5fb4716..191064f 100644 --- a/include/boost/detail/sp_counted_base_pt.hpp +++ b/include/boost/detail/sp_counted_base_pt.hpp @@ -37,7 +37,7 @@ private: long use_count_; // #shared long weak_count_; // #weak + (#shared != 0) - pthread_mutex_t m_; + mutable pthread_mutex_t m_; public: