From 9c847001516949e21a522ae53a0e07c556b4116d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 19:58:34 +0300 Subject: add missing const in popupmenu casts. --- src/gui/popups/popupmenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index cba03800a..f151eae01 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -319,7 +319,7 @@ void PopupMenu::showPopup(const int x, const int y, mBrowserBox->addRow(_("Players")); FOR_EACH (std::vector::const_iterator, it, beings) { - const Being *const being = dynamic_cast(*it); + const Being *const being = dynamic_cast(*it); const ActorSprite *const actor = *it; if (being && !being->getName().empty()) { @@ -2098,7 +2098,7 @@ void PopupMenu::showPopup(const int x, const int y, Button *const button) for (std::vector