From 41d3b2bdf3af75720b5a4463be0ba6d234c61261 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 20:04:09 +0300 Subject: fix const in definition in popupmenu. --- src/gui/popups/popupmenu.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/gui/popups/popupmenu.h') diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h index 4bb7e2e04..4c1a61aff 100644 --- a/src/gui/popups/popupmenu.h +++ b/src/gui/popups/popupmenu.h @@ -151,10 +151,12 @@ class PopupMenu final : public Popup, public LinkHandler void showSpellPopup(const int x, const int y, TextCommand *const cmd); - void showAttackMonsterPopup(int x, int y, const std::string &name, - int type); + void showAttackMonsterPopup(const int x, const int y, + const std::string &name, + const int type); - void showPickupItemPopup(int x, int y, std::string name); + void showPickupItemPopup(const int x, const int y, + const std::string &name); void showUndressPopup(const int x, const int y, const Being *const being, -- cgit v1.2.3-60-g2f50