mail[Wesnoth-commits] r27393 - /trunk/src/multiplayer_ui.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 - 12:33:
Author: mordante
Date: Sun Jun 22 12:33:28 2008
New Revision: 27393

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

Modified:
    trunk/src/multiplayer_ui.hpp

Modified: trunk/src/multiplayer_ui.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/multiplayer_ui.hpp?rev=27393&r1=27392&r2=27393&view=diff
==============================================================================
--- trunk/src/multiplayer_ui.hpp (original)
+++ trunk/src/multiplayer_ui.hpp Sun Jun 22 12:33:28 2008
@@ -213,6 +213,15 @@
 private:
        struct user_info
        {
+               user_info() :
+                       name(),
+                       game_id(),
+                       location(),
+                       relation(ME),
+                       state(LOBBY)
+               {
+               }
+
                std::string    name;
                std::string    game_id;
                std::string    location;




Related Messages


Powered by MHonArc, Updated Sun Jun 22 13:02:14 2008