Show
Ignore:
Timestamp:
03/23/09 17:28:48 (5 years ago)
Author:
robert
Message:

From Csaba Halasz, "IIRC the C++ standard says members will be initialized in declaration
order, and not in the order they are listed in the constructor. To
avoid possible trouble, gcc warns about this. Attached modification
fixes the initializer order to silence this warning."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/OpenThreads/win32/Win32ConditionPrivateData.h

    r9059 r9958  
    4545    Win32ConditionPrivateData () 
    4646        :waiters_(0),  
    47          was_broadcast_(0), 
    4847         sema_(CreateSemaphore(NULL,0,0x7fffffff,NULL)), 
    49          waiters_done_(CreateEvent(NULL,FALSE,FALSE,NULL)) 
     48         waiters_done_(CreateEvent(NULL,FALSE,FALSE,NULL)), 
     49         was_broadcast_(0) 
    5050    { 
    5151    }