From 1feb7f7edc5f8f383e594b256ef4cab0fae75b99 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 29 Aug 2012 23:40:41 +0300 Subject: Add const to more classes. --- src/gui/spellpopup.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/spellpopup.h') diff --git a/src/gui/spellpopup.h b/src/gui/spellpopup.h index 0cb66ca9a..403112e85 100644 --- a/src/gui/spellpopup.h +++ b/src/gui/spellpopup.h @@ -56,12 +56,12 @@ class SpellPopup : public Popup /** * Sets the info to be displayed given a particular item. */ - void setItem(TextCommand *spell); + void setItem(const TextCommand *const spell); /** * Sets the location to display the item popup. */ - void view(int x, int y); + void view(const int x, const int y); void mouseMoved(gcn::MouseEvent &mouseEvent); -- cgit v1.2.3-60-g2f50