summaryrefslogtreecommitdiff
path: root/src/gui/editdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editdialog.h')
-rw-r--r--src/gui/editdialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/editdialog.h b/src/gui/editdialog.h
index 4d32c1ff9..3c9a0948b 100644
--- a/src/gui/editdialog.h
+++ b/src/gui/editdialog.h
@@ -58,7 +58,7 @@ class EditDialog final : public Window, public gcn::ActionListener
*/
void action(const gcn::ActionEvent &event) override;
- std::string getMsg() const
+ std::string getMsg() const A_WARN_UNUSED
{ return mTextField->getText(); }
private: