Commit 61a30287 authored by Max Kellermann's avatar Max Kellermann

util/AllocatedString: remove bogus code from operator=

parent 11d048b8
......@@ -77,7 +77,6 @@ public:
}
AllocatedString &operator=(AllocatedString &&src) {
*(StringPointer<T> *)this = std::move(src);
std::swap(value, src.value);
return *this;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment