diff options
author | Mattes D <github@xoft.cz> | 2014-05-18 22:30:34 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-05-18 22:30:34 +0200 |
commit | ac005681839134018f0162cfb8cb1453e11cbb46 (patch) | |
tree | 41cc966732262c0a8f5441932b758344856d6259 /src/Item.h | |
parent | Merge pull request #1005 from SphinxC0re/LoadPluginfolder (diff) | |
parent | Fixes (diff) | |
download | cuberite-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.h | 2 |
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) |