-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
1 changed files with 1 additions and 0 deletions

View File

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