mail[Wesnoth-commits] r28918 - /trunk/src/editor2/map_fragment.cpp


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

Header


Content

Posted by koraq on August 24, 2008 - 11:58:
Author: mordante
Date: Sun Aug 24 11:58:10 2008
New Revision: 28918

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

Modified:
    trunk/src/editor2/map_fragment.cpp

Modified: trunk/src/editor2/map_fragment.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/map_fragment.cpp?rev=28918&r1=28917&r2=28918&view=diff
==============================================================================
--- trunk/src/editor2/map_fragment.cpp (original)
+++ trunk/src/editor2/map_fragment.cpp Sun Aug 24 11:58:10 2008
@@ -21,10 +21,14 @@
 namespace editor2 {
 
 map_fragment::map_fragment()
+       : items_()
+       , area_()
 {
 }
 
 map_fragment::map_fragment(const gamemap& map, const 
std::set<gamemap::location>& area)
+       : items_()
+       , area_()
 {
        add_tiles(map, area);
 }




Related Messages


Powered by MHonArc, Updated Sun Aug 24 12:02:23 2008