Browse Source

vc++ objections

David Rose 23 years ago
parent
commit
17762b55f5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      panda/src/express/conditionVar.I

+ 2 - 2
panda/src/express/conditionVar.I

@@ -50,8 +50,8 @@ INLINE ConditionVar::
 ////////////////////////////////////////////////////////////////////
 INLINE ConditionVar::
 ConditionVar(const ConditionVar &copy) : 
-  _mutex(*(Mutex *)NULL), 
-  _impl(*(MutexImpl *)NULL)
+  _mutex(copy._mutex), 
+  _impl(_mutex._impl)
 {
   nassertv(false);
 }