summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windowmenu.h')
-rw-r--r--src/gui/windowmenu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windowmenu.h b/src/gui/windowmenu.h
index a1192acce..fb5d3af10 100644
--- a/src/gui/windowmenu.h
+++ b/src/gui/windowmenu.h
@@ -65,10 +65,10 @@ class WindowMenu final : public Container,
void mouseExited(gcn::MouseEvent& mouseEvent A_UNUSED) override;
- std::map <std::string, Button*> &getButtonNames()
+ std::map <std::string, Button*> &getButtonNames() A_WARN_UNUSED
{ return mButtonNames; }
- std::vector <Button*> &getButtons()
+ std::vector <Button*> &getButtons() A_WARN_UNUSED
{ return mButtons; }
void showButton(const std::string &name, const bool visible);