Author: mordante
Date: Sun Mar  6 19:27:47 2011
New Revision: 48794

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

Modified:
    trunk/src/game_display.cpp

Modified: trunk/src/game_display.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_display.cpp?rev=48794&r1=48793&r2=48794&view=diff
==============================================================================
--- trunk/src/game_display.cpp (original)
+++ trunk/src/game_display.cpp Sun Mar  6 19:27:47 2011
@@ -1074,6 +1074,13 @@
 
 struct wnotify
 {
+       wnotify()
+               : id()
+               , owner()
+               , message()
+       {
+       }
+
        uint32_t id;
        std::string owner;
        std::string message;


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to