summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/textbox.h')
-rw-r--r--src/gui/widgets/textbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/textbox.h b/src/gui/widgets/textbox.h
index 73de248cf..51402fad7 100644
--- a/src/gui/widgets/textbox.h
+++ b/src/gui/widgets/textbox.h
@@ -55,7 +55,7 @@ class TextBox final : public gcn::TextBox,
/**
* Get the minimum text width for the text box.
*/
- int getMinWidth() const
+ int getMinWidth() const A_WARN_UNUSED
{ return mMinWidth; }
void keyPressed(gcn::KeyEvent& keyEvent) override;