Made Dictionary support movable value types with deleted copy constructors.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user