Browse Source

MutexImpl doesn't take a name

David Rose 19 years ago
parent
commit
1468db93d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/express/referenceCount.cxx

+ 1 - 1
panda/src/express/referenceCount.cxx

@@ -67,7 +67,7 @@ create_weak_list() {
     delete weak_list;
     delete weak_list;
   }
   }
 #else
 #else
-  static MutexImpl lock("ReferenceCount::create_weak_list");
+  static MutexImpl lock;
   lock.lock();
   lock.lock();
   if (_weak_list != (WeakReferenceList *)NULL) {
   if (_weak_list != (WeakReferenceList *)NULL) {
     _weak_list = new WeakReferenceList;
     _weak_list = new WeakReferenceList;