|
|
|
@@ -143,6 +143,7 @@ public: |
|
|
|
Array& operator= (Array&& other) noexcept
|
|
|
|
{
|
|
|
|
const ScopedLockType lock (getLock());
|
|
|
|
deleteAllElements();
|
|
|
|
data = static_cast<ArrayAllocationBase<ElementType, TypeOfCriticalSectionToUse>&&> (other.data);
|
|
|
|
numUsed = other.numUsed;
|
|
|
|
other.numUsed = 0;
|
|
|
|
|