util/AllocatedString: remove bogus code from operator=
This commit is contained in:
@ -77,7 +77,6 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
AllocatedString &operator=(AllocatedString &&src) {
|
AllocatedString &operator=(AllocatedString &&src) {
|
||||||
*(StringPointer<T> *)this = std::move(src);
|
|
||||||
std::swap(value, src.value);
|
std::swap(value, src.value);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user