fix: de golmon
This commit is contained in:
parent
e5bcc44b2e
commit
4e239c6091
@ -39,7 +39,7 @@ class Array
|
|||||||
return *this;
|
return *this;
|
||||||
delete[] this->_arr;
|
delete[] this->_arr;
|
||||||
this->_size = src._size;
|
this->_size = src._size;
|
||||||
new T[src._size];
|
this->_arr = new T[src._size];
|
||||||
for (size_t i = 0; i < src._size; i++)
|
for (size_t i = 0; i < src._size; i++)
|
||||||
this->_arr[i] = src._arr[i];
|
this->_arr[i] = src._arr[i];
|
||||||
return *this;
|
return *this;
|
||||||
|
Loading…
Reference in New Issue
Block a user