util/AllocatedString: remove bogus code from operator=
This commit is contained in:
parent
11d048b8e3
commit
61a3028788
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user