| 402 | unsigned int Count; |
| 403 | |
| 404 | void DoCopy (const TArray<T> &other) |
| 405 | { |
| 406 | Most = Count = other.Count; |
| 407 | if (Count != 0) |
| 408 | { |
| 409 | Array = (T *)M_Malloc (sizeof(T)*Most); |
| 410 | for (unsigned int i = 0; i < Count; ++i) |
| 411 | { |
| 412 | ::new(&Array[i]) T(other.Array[i]); |
| 413 | } |
| 414 | } |
| 415 | else |
| 416 | { |
| 417 | Array = NULL; |
| 418 | } |
| 419 | } |
| 420 | |
| 421 | void DoResize () |
| 422 | { |
nothing calls this directly
no outgoing calls
no test coverage detected