mail[Wesnoth-commits] r27404 - /trunk/src/cavegen.hpp


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

Header


Content

Posted by koraq on June 22, 2008 - 14:15:
Author: mordante
Date: Sun Jun 22 14:15:27 2008
New Revision: 27404

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27404&view=rev
Log:
Added constructor to initialize all members.

Modified:
    trunk/src/cavegen.hpp

Modified: trunk/src/cavegen.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/cavegen.hpp?rev=27404&r1=27403&r2=27404&view=diff
==============================================================================
--- trunk/src/cavegen.hpp (original)
+++ trunk/src/cavegen.hpp Sun Jun 22 14:15:27 2008
@@ -40,6 +40,13 @@
 private:
 
        struct chamber {
+               chamber() :
+                       center(),
+                       locs(),
+                       items(0)
+               {
+               }
+
                gamemap::location center;
                std::set<gamemap::location> locs;
                config* items;




Related Messages


Powered by MHonArc, Updated Sun Jun 22 14:21:41 2008