Added copy constructor to array.

This commit is contained in:
leo 2014-04-10 21:24:55 +00:00
parent c5f006cd2c
commit 83720038af

View file

@ -18,6 +18,12 @@ public:
AllocGrow(Size);
}
lcArray(const lcArray<T>& Array)
{
mData = NULL;
*this = Array;
}
~lcArray()
{
delete[] mData;