util/AllocatedString: remove bogus code from operator=

This commit is contained in:
Max Kellermann 2015-06-23 13:19:52 +02:00
parent 11d048b8e3
commit 61a3028788

View File

@ -77,7 +77,6 @@ public:
}
AllocatedString &operator=(AllocatedString &&src) {
*(StringPointer<T> *)this = std::move(src);
std::swap(value, src.value);
return *this;
}