mail[Wesnoth-commits] r20627 - /trunk/src/thread.hpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by koraq on September 20, 2007 - 19:36:
Author: mordante
Date: Thu Sep 20 19:35:50 2007
New Revision: 20627

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20627&view=rev
Log:
Make sure all members are initialized in the constructor.

Modified:
    trunk/src/thread.hpp

Modified: trunk/src/thread.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/thread.hpp?rev=20627&r1=20626&r2=20627&view=diff
==============================================================================
--- trunk/src/thread.hpp (original)
+++ trunk/src/thread.hpp Thu Sep 20 19:35:50 2007
@@ -205,7 +205,8 @@
 
        enum RESULT { COMPLETED, ABORTED };
 
-       async_operation() : aborted_(false), finishedVar_(false) {}
+       async_operation() : 
+               aborted_(false), finished_(), finishedVar_(false), mutex_() {}
        virtual ~async_operation() {}
 
        RESULT execute(waiter& wait);




Related Messages


Powered by MHonArc, Updated Thu Sep 20 19:40:43 2007