mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-07-30 12:47:28 +02:00
Made the pthread mutex mutable
[SVN r27740]
This commit is contained in:
@ -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