mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Added copy constructor to array.
This commit is contained in:
parent
c5f006cd2c
commit
83720038af
1 changed files with 6 additions and 0 deletions
|
@ -18,6 +18,12 @@ public:
|
|||
AllocGrow(Size);
|
||||
}
|
||||
|
||||
lcArray(const lcArray<T>& Array)
|
||||
{
|
||||
mData = NULL;
|
||||
*this = Array;
|
||||
}
|
||||
|
||||
~lcArray()
|
||||
{
|
||||
delete[] mData;
|
||||
|
|
Loading…
Reference in a new issue