Fix const-confusion in hb_array_t as well
This commit is contained in:
parent
0da22fb0ad
commit
f6e7cb51b1
|
@ -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…
Reference in New Issue