MutexImpl doesn't take a name

This commit is contained in:
David Rose 2006-04-12 15:26:16 +00:00
parent 0486a74e7c
commit 1468db93d8
1 changed files with 1 additions and 1 deletions

View File

@ -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;