use ptext base copy constructor instead of operator=

This commit is contained in:
Martin Michelsen
2022-04-01 10:12:20 -07:00
parent 345820145e
commit c04ed9b6ce
+1 -3
View File
@@ -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>