Made Dictionary support movable value types with deleted copy constructors.

This commit is contained in:
intolerantape
2021-11-20 12:34:25 -08:00
parent 3e2956a7bf
commit f05f9d5ade

View File

@@ -530,7 +530,7 @@ public:
for (int32 i = 0; i < oldSize; i++)
{
if (oldData[i].IsOccupied())
Add(oldData[i].Key, oldData[i].Value);
Add(oldData[i].Key, MoveTemp(oldData[i].Value));
}
}
if (oldElementsCount != 0)