summaryrefslogtreecommitdiffstats
path: root/src/Item.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-05-18 22:30:34 +0200
committerMattes D <github@xoft.cz>2014-05-18 22:30:34 +0200
commitac005681839134018f0162cfb8cb1453e11cbb46 (patch)
tree41cc966732262c0a8f5441932b758344856d6259 /src/Item.h
parentMerge pull request #1005 from SphinxC0re/LoadPluginfolder (diff)
parentFixes (diff)
downloadcuberite-ac005681839134018f0162cfb8cb1453e11cbb46.tar
cuberite-ac005681839134018f0162cfb8cb1453e11cbb46.tar.gz
cuberite-ac005681839134018f0162cfb8cb1453e11cbb46.tar.bz2
cuberite-ac005681839134018f0162cfb8cb1453e11cbb46.tar.lz
cuberite-ac005681839134018f0162cfb8cb1453e11cbb46.tar.xz
cuberite-ac005681839134018f0162cfb8cb1453e11cbb46.tar.zst
cuberite-ac005681839134018f0162cfb8cb1453e11cbb46.zip
Diffstat (limited to '')
-rw-r--r--src/Item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Item.h b/src/Item.h
index 2f65d5344..acbc880dc 100644
--- a/src/Item.h
+++ b/src/Item.h
@@ -228,7 +228,7 @@ public:
void Add (const cItem & a_Item) {push_back(a_Item); }
void Delete(int a_Idx);
void Clear (void) {clear(); }
- size_t Size (void) {return size(); }
+ size_t Size (void) const { return size(); }
void Set (int a_Idx, short a_ItemType, char a_ItemCount, short a_ItemDamage);
void Add (short a_ItemType, char a_ItemCount, short a_ItemDamage)