mail[Wesnoth-commits] r34023 - /trunk/src/editor2/editor_display.hpp


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

Header


Content

Posted by kailoran on March 22, 2009 - 13:01:
Author: ilor
Date: Sun Mar 22 13:01:33 2009
New Revision: 34023

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34023&view=rev
Log:
value->ref fix

Modified:
    trunk/src/editor2/editor_display.hpp

Modified: trunk/src/editor2/editor_display.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_display.hpp?rev=34023&r1=34022&r2=34023&view=diff
==============================================================================
--- trunk/src/editor2/editor_display.hpp (original)
+++ trunk/src/editor2/editor_display.hpp Sun Mar 22 13:01:33 2009
@@ -34,7 +34,7 @@
        void remove_brush_loc(const map_location& hex);
        const editor_map& map() const { return static_cast<const 
editor_map&>(get_map()); }
        void rebuild_terrain(const map_location &loc);
-       void set_toolbar_hint(const std::string value) { toolbar_hint_ = 
value; }
+       void set_toolbar_hint(const std::string& value) { toolbar_hint_ = 
value; }
 
 protected:
        void pre_draw();




Related Messages


Powered by MHonArc, Updated Sun Mar 22 13:20:35 2009