mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-08-01 05:34:36 +02:00
Made the pthread mutex mutable
[SVN r27740]
This commit is contained in:
@@ -37,7 +37,7 @@ private:
|
|||||||
long use_count_; // #shared
|
long use_count_; // #shared
|
||||||
long weak_count_; // #weak + (#shared != 0)
|
long weak_count_; // #weak + (#shared != 0)
|
||||||
|
|
||||||
pthread_mutex_t m_;
|
mutable pthread_mutex_t m_;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user