1
0

Removed the explicit copy constructor for cItem.

The compiler generates an implicit one with the same contents and warns about it. The function left in for ToLua to generate the binding for it.
This commit is contained in:
madmaxoft 2014-05-01 22:02:25 +02:00
parent a2cffb0363
commit b0056cdcf8

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