fix(containers): fix TArray move constructor not setting rvalue to empty

This commit is contained in:
Redstone1024 2024-10-28 15:59:45 +08:00
parent 93d0ceb2b9
commit d73140c24c

View File

@ -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. */