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.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/popups/popupmenu.cpp') diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index f151eae01..ce96d2abd 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -2271,7 +2271,8 @@ void PopupMenu::showAttackMonsterPopup(const int x, const int y, showPopup(x, y); } -void PopupMenu::showPickupItemPopup(const int x, const int y, std::string name) +void PopupMenu::showPickupItemPopup(const int x, const int y, + const std::string &name) { if (!player_node || !actorSpriteManager) return; -- cgit v1.2.3-70-g09d2