MutexImpl doesn't take a name
This commit is contained in:
parent
0486a74e7c
commit
1468db93d8
|
|
@ -67,7 +67,7 @@ create_weak_list() {
|
|||
delete weak_list;
|
||||
}
|
||||
#else
|
||||
static MutexImpl lock("ReferenceCount::create_weak_list");
|
||||
static MutexImpl lock;
|
||||
lock.lock();
|
||||
if (_weak_list != (WeakReferenceList *)NULL) {
|
||||
_weak_list = new WeakReferenceList;
|
||||
|
|
|
|||
Loading…
Reference in New Issue