forked from boostorg/smart_ptr
Made the pthread mutex mutable
[SVN r27740]
This commit is contained in:
1 parent
14024e2598
commit
c6bf857f8b
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
|
||||
Reference in new issue
Block a user