summaryrefslogtreecommitdiff
path: root/src/gui/widgets/shopitems.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-27 21:41:20 +0300
committerAndrei Karas <akaras@inbox.ru>2011-03-27 21:41:20 +0300
commit964ffbb9b6ed5246b14a7d0c0d065f7d38af0912 (patch)
treeedef1b3f31183402e2d0f86ee48c9734c2a03c7e /src/gui/widgets/shopitems.h
parent41ac086fcd38fd472b579a495a8e8e7685ae4722 (diff)
downloadplus-964ffbb9b6ed5246b14a7d0c0d065f7d38af0912.tar.gz
plus-964ffbb9b6ed5246b14a7d0c0d065f7d38af0912.tar.bz2
plus-964ffbb9b6ed5246b14a7d0c0d065f7d38af0912.tar.xz
plus-964ffbb9b6ed5246b14a7d0c0d065f7d38af0912.zip
Fix some warnings and improve code from gcc 4.6 compilation.
Diffstat (limited to 'src/gui/widgets/shopitems.h')
-rw-r--r--src/gui/widgets/shopitems.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/shopitems.h b/src/gui/widgets/shopitems.h
index 2b2dcc5eb..cc444fe85 100644
--- a/src/gui/widgets/shopitems.h
+++ b/src/gui/widgets/shopitems.h
@@ -110,7 +110,7 @@ class ShopItems : public gcn::ListModel
*
* @return the item found or 0
*/
- ShopItem *findItem(int id, unsigned char color);
+ ShopItem *findItem(int id, unsigned char color) const;
/** The list of items in the shop. */
std::vector<ShopItem*> mShopItems;