summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.h b/src/item.h
index d8ede3995..b9939c6e1 100644
--- a/src/item.h
+++ b/src/item.h
@@ -163,7 +163,7 @@ class Item
unsigned char getColor() const A_WARN_UNUSED
{ return mColor; }
- std::string &getDescription() A_WARN_UNUSED
+ const std::string &getDescription() const A_WARN_UNUSED
{ return mDescription; }
int mId; /**< Item type id. */