diff options
author | Mattes D <github@xoft.cz> | 2014-05-01 22:14:34 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-05-01 22:14:34 +0200 |
commit | a4416874bba3b2e21e51869a3d6afd390a54fbe6 (patch) | |
tree | b85a13bb52fa849d64cc3603613bcfcbf69166e9 /src | |
parent | Fixed MSVC2013 compilation. (diff) | |
parent | Removed the explicit copy constructor for cItem. (diff) | |
download | cuberite-a4416874bba3b2e21e51869a3d6afd390a54fbe6.tar cuberite-a4416874bba3b2e21e51869a3d6afd390a54fbe6.tar.gz cuberite-a4416874bba3b2e21e51869a3d6afd390a54fbe6.tar.bz2 cuberite-a4416874bba3b2e21e51869a3d6afd390a54fbe6.tar.lz cuberite-a4416874bba3b2e21e51869a3d6afd390a54fbe6.tar.xz cuberite-a4416874bba3b2e21e51869a3d6afd390a54fbe6.tar.zst cuberite-a4416874bba3b2e21e51869a3d6afd390a54fbe6.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/Item.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Item.h b/src/Item.h index 641c681db..8eb0a1f4e 100644 --- a/src/Item.h +++ b/src/Item.h @@ -73,6 +73,10 @@ public: } + // The constructor is disabled in code, because the compiler generates it anyway, + // but it needs to stay because ToLua needs to generate the binding for it + #if 0 + /** Creates an exact copy of the item */ cItem(const cItem & a_CopyFrom) : m_ItemType (a_CopyFrom.m_ItemType), @@ -85,6 +89,8 @@ public: { } + #endif + void Empty(void) { |