Author: mordante
Date: Tue Apr  7 22:02:42 2009
New Revision: 34617

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34617&view=rev
Log:
Initialize all members in the proper order.

Modified:
    trunk/src/savegame.cpp

Modified: trunk/src/savegame.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/savegame.cpp?rev=34617&r1=34616&r2=34617&view=diff
==============================================================================
--- trunk/src/savegame.cpp (original)
+++ trunk/src/savegame.cpp Tue Apr  7 22:02:42 2009
@@ -29,11 +29,13 @@
 
 #define LOG_SAVE LOG_STREAM(info, engine)
 
-savegame::savegame(game_state& gamestate, const std::string title) 
-       : gamestate_(gamestate), 
-       title_(title),  snapshot_(),
-       error_message_(_("The game could not be saved")),
-       interactive_(false)
+savegame::savegame(game_state& gamestate, const std::string title)
+       : gamestate_(gamestate)
+       , snapshot_()
+       , filename_()
+       , title_(title)
+       , error_message_(_("The game could not be saved"))
+       , interactive_(false)
 {}
 
 play_controller* save_blocker::controller_ = NULL;


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

Reply via email to