Fix const-confusion in hb_array_t as well

pull/1363/head
Behdad Esfahbod 6 years ago
parent 0da22fb0ad
commit f6e7cb51b1
  1. 6
      src/hb-dsalgs.hh

@ -553,11 +553,9 @@ struct hb_array_t
inline unsigned int get_size (void) const { return len * sizeof (Type); }
template <typename T> inline operator T * (void) { return arrayZ; }
template <typename T> inline operator const T * (void) const { return arrayZ; }
template <typename T> inline operator T * (void) const { return arrayZ; }
inline Type * operator & (void) { return arrayZ; }
inline const Type * operator & (void) const { return arrayZ; }
inline Type * operator & (void) const { return arrayZ; }
inline hb_array_t<Type> sub_array (unsigned int start_offset, unsigned int seg_count) const
{

Loading…
Cancel
Save