fix(containers): fix TArray move constructor not setting rvalue to empty
This commit is contained in:
parent
93d0ceb2b9
commit
d73140c24c
@ -132,6 +132,8 @@ public:
|
|||||||
|
|
||||||
Memory::MoveConstruct<ElementType>(Impl.Pointer, InValue.Impl.Pointer, Num());
|
Memory::MoveConstruct<ElementType>(Impl.Pointer, InValue.Impl.Pointer, Num());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
InValue.Reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Constructs the container with the contents of the initializer list. */
|
/** Constructs the container with the contents of the initializer list. */
|
||||||
|
Loading…
Reference in New Issue
Block a user