[array] Remove copy constructor

Fixes https://github.com/harfbuzz/harfbuzz/issues/1502
This commit is contained in:
Behdad Esfahbod 2018-12-21 15:12:55 -05:00
parent 69d232eaea
commit 95265aeab7

View File

@ -43,7 +43,6 @@ struct hb_array_t
* Constructors.
*/
hb_array_t () : arrayZ (nullptr), len (0) {}
hb_array_t (const hb_array_t &o) : arrayZ (o.arrayZ), len (o.len) {}
hb_array_t (Type *array_, unsigned int len_) : arrayZ (array_), len (len_) {}
template <unsigned int len_> hb_array_t (Type (&array_)[len_]) : arrayZ (array_), len (len_) {}