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() {
|
ptext() {
|
||||||
this->clear();
|
this->clear();
|
||||||
}
|
}
|
||||||
ptext(const ptext& other) {
|
ptext(const ptext& other) : parray<CharT, Count>(other) { }
|
||||||
this->operator=(other);
|
|
||||||
}
|
|
||||||
ptext(ptext&& s) = delete;
|
ptext(ptext&& s) = delete;
|
||||||
|
|
||||||
template <typename OtherCharT>
|
template <typename OtherCharT>
|
||||||
|
|||||||
Reference in New Issue
Block a user