diff --git a/AK/Vector.h b/AK/Vector.h index 2870f90671..4e6ae11879 100644 --- a/AK/Vector.h +++ b/AK/Vector.h @@ -173,7 +173,8 @@ public: void append(Vector&& other) { if (!m_impl) { - m_impl = move(other.m_impl); + m_impl = other.m_impl; + other.m_impl = nullptr; return; } Vector tmp = move(other);