Author: brunowolff
Date: Wed Mar 19 16:50:59 2008
New Revision: 24825
URL: http://svn.gna.org/viewcvs/wesnoth?rev=24825&view=rev
Log:
Silence gcc 4.3 warning about const return type.
Modified:
trunk/src/floating_textbox.hpp
Modified: trunk/src/floating_textbox.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/floating_textbox.hpp?rev=24825&r1=24824&r2=24825&view=diff
==============================================================================
--- trunk/src/floating_textbox.hpp (original)
+++ trunk/src/floating_textbox.hpp Wed Mar 19 16:50:59 2008
@@ -34,7 +34,7 @@
public:
floating_textbox();
- const TEXTBOX_MODE mode() const { return mode_; }
+ TEXTBOX_MODE mode() const { return mode_; }
const util::scoped_ptr<gui::button>& check() const { return
check_; }
const util::scoped_ptr<gui::textbox>& box() const { return
box_; }
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits