| 868 | unsigned int Most; |
| 869 | |
| 870 | void DoCopy (const TArray<T> &other) |
| 871 | { |
| 872 | Most = Count = other.Count; |
| 873 | if (Count != 0) |
| 874 | { |
| 875 | Array = (T *)M_Malloc (sizeof(T)*Most); |
| 876 | for (unsigned int i = 0; i < Count; ++i) |
| 877 | { |
| 878 | ::new(&Array[i]) T(other.Array[i]); |
| 879 | } |
| 880 | } |
| 881 | else |
| 882 | { |
| 883 | Array = NULL; |
| 884 | } |
| 885 | } |
| 886 | |
| 887 | void DoResize () |
| 888 | { |
nothing calls this directly
no test coverage detected