mail[Wesnoth-commits] r40299 - /trunk/src/ai/contexts.cpp


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

Header


Content

Posted by koraq on December 20, 2009 - 17:56:
Author: mordante
Date: Sun Dec 20 17:56:42 2009
New Revision: 40299

URL: http://svn.gna.org/viewcvs/wesnoth?rev=40299&view=rev
Log:
Initialize all members.

Modified:
    trunk/src/ai/contexts.cpp

Modified: trunk/src/ai/contexts.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai/contexts.cpp?rev=40299&r1=40298&r2=40299&view=diff
==============================================================================
--- trunk/src/ai/contexts.cpp (original)
+++ trunk/src/ai/contexts.cpp Sun Dec 20 17:56:42 2009
@@ -819,6 +819,8 @@
 
 
 keeps_cache::keeps_cache()
+       : map_(NULL)
+       , keeps_()
 {
        ai::manager::add_turn_started_observer(this);
        ai::manager::add_map_changed_observer(this);




Related Messages


Powered by MHonArc, Updated Sun Dec 20 18:00:10 2009