Author: boucman
Date: Mon May 11 23:45:03 2009
New Revision: 35578

URL: http://svn.gna.org/viewcvs/wesnoth?rev=35578&view=rev
Log:
port the trivial/non-dangerous optimisations to 1.6

Modified:
    branches/1.6/src/unit_frame.cpp
    branches/1.6/src/unit_frame.hpp

Modified: branches/1.6/src/unit_frame.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.6/src/unit_frame.cpp?rev=35578&r1=35577&r2=35578&view=diff
==============================================================================
--- branches/1.6/src/unit_frame.cpp (original)
+++ branches/1.6/src/unit_frame.cpp Mon May 11 23:45:03 2009
@@ -156,8 +156,8 @@
 
 
 frame_builder::frame_builder(const config& cfg,const std::string& 
frame_string) :
-       image_(image::locator()),
-       image_diagonal_(image::locator()),
+       image_(),
+       image_diagonal_(),
        image_mod_(""),
        halo_(""),
        halo_x_(""),

Modified: branches/1.6/src/unit_frame.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.6/src/unit_frame.hpp?rev=35578&r1=35577&r2=35578&view=diff
==============================================================================
--- branches/1.6/src/unit_frame.hpp (original)
+++ branches/1.6/src/unit_frame.hpp Mon May 11 23:45:03 2009
@@ -67,8 +67,8 @@
 class frame_parameters{
        public:
        frame_parameters():
-       image(""),
-       image_diagonal(""),
+       image(),
+       image_diagonal(),
        image_mod(""),
        halo(""),
        halo_x(0),


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

Reply via email to