From cf9b1182f06b1336f0d1071c267ea36c990430fa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 16 Mar 2014 12:07:38 +0300 Subject: Add missing consts into item. --- src/item.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/item.h') diff --git a/src/item.h b/src/item.h index adb6ec03e..dc4600d8b 100644 --- a/src/item.h +++ b/src/item.h @@ -153,12 +153,12 @@ class Item const ItemInfo &getInfo() const A_WARN_UNUSED { return ItemDB::get(mId); } - std::string getName() A_WARN_UNUSED; + std::string getName() const A_WARN_UNUSED; static Image *getImage(const int id, const unsigned char color) A_WARN_UNUSED; - bool isHaveTag(const int tagId) A_WARN_UNUSED; + bool isHaveTag(const int tagId) const A_WARN_UNUSED; unsigned char getColor() const A_WARN_UNUSED { return mColor; } -- cgit v1.2.3-60-g2f50