diff --git a/src/hb-array.hh b/src/hb-array.hh index 8c02c13bd..c18d4dc4b 100644 --- a/src/hb-array.hh +++ b/src/hb-array.hh @@ -271,8 +271,13 @@ typedef hb_array_t hb_bytes_t; template struct hb_supplier_t : hb_array_t { + HB_NO_CREATE_COPY_ASSIGN_TEMPLATE (hb_supplier_t, Type); + hb_supplier_t (const Type *array, unsigned int len) : hb_array_t (array, len) {} hb_supplier_t (hb_array_t v) : hb_array_t (v) {} + + /* Make sure no one calls the custom & operator on us. */ + Type * operator & () const; };