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();
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits