summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-05-01 22:14:34 +0200
committerMattes D <github@xoft.cz>2014-05-01 22:14:34 +0200
commita4416874bba3b2e21e51869a3d6afd390a54fbe6 (patch)
treeb85a13bb52fa849d64cc3603613bcfcbf69166e9 /src
parentFixed MSVC2013 compilation. (diff)
parentRemoved the explicit copy constructor for cItem. (diff)
downloadcuberite-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.h6
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)
{