use ptext base copy constructor instead of operator=
This commit is contained in:
+1
-3
@@ -212,9 +212,7 @@ struct ptext : parray<CharT, Count> {
|
||||
ptext() {
|
||||
this->clear();
|
||||
}
|
||||
ptext(const ptext& other) {
|
||||
this->operator=(other);
|
||||
}
|
||||
ptext(const ptext& other) : parray<CharT, Count>(other) { }
|
||||
ptext(ptext&& s) = delete;
|
||||
|
||||
template <typename OtherCharT>
|
||||
|
||||
Reference in New Issue
Block a user