1
0

Merge pull request #973 from mc-server/ItemNoCopyConstructor

Removed the explicit copy constructor for cItem.
This commit is contained in:
Mattes D 2014-05-01 22:14:34 +02:00
commit a4416874bb

View File

@ -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)
{