-fix TArray::Append with rvalue parameter

This must clear the source array to obey move rules.
This commit is contained in:
Christoph Oelckers 2022-04-29 02:10:43 +02:00
parent ff58e4ec6f
commit 65a37856ec

View file

@ -408,6 +408,7 @@ public:
{ {
new(&Array[start + i]) T(std::move(item[i])); new(&Array[start + i]) T(std::move(item[i]));
} }
item.Clear();
return start; return start;
} }