From 3e1c4a3d14d3d0768baea9b53bc90759a5d0aa10 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Wed, 19 Mar 2008 15:50:59 +0000 Subject: [PATCH] Silence gcc 4.3 warning about const return type. --- src/floating_textbox.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/floating_textbox.hpp b/src/floating_textbox.hpp index e332ff41f28..fa22e079828 100644 --- a/src/floating_textbox.hpp +++ b/src/floating_textbox.hpp @@ -34,7 +34,7 @@ namespace gui{ public: floating_textbox(); - const TEXTBOX_MODE mode() const { return mode_; } + TEXTBOX_MODE mode() const { return mode_; } const util::scoped_ptr& check() const { return check_; } const util::scoped_ptr& box() const { return box_; }