summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-16 12:07:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-16 12:07:38 +0300
commitcf9b1182f06b1336f0d1071c267ea36c990430fa (patch)
tree56adfed2bb031a4a45380db53cda3f5a9eb6a2e9 /src/item.h
parenta8df8e90356a048c48ac5ea1a1a8649a1a5b742b (diff)
downloadplus-cf9b1182f06b1336f0d1071c267ea36c990430fa.tar.gz
plus-cf9b1182f06b1336f0d1071c267ea36c990430fa.tar.bz2
plus-cf9b1182f06b1336f0d1071c267ea36c990430fa.tar.xz
plus-cf9b1182f06b1336f0d1071c267ea36c990430fa.zip
Add missing consts into item.
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h4
1 files changed, 2 insertions, 2 deletions
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; }