[arrays] Minor fix
This commit is contained in:
parent
381c3548e9
commit
a1240383aa
|
@ -488,7 +488,7 @@ struct SortedUnsizedArrayOf : UnsizedArrayOf<Type>
|
|||
hb_sorted_array_t<const Type> as_array (unsigned int len) const
|
||||
{ return hb_sorted_array (this->arrayZ, len); }
|
||||
operator hb_sorted_array_t<Type> (void) { return as_array (); }
|
||||
operator hb_sorted_array_t<const Type> (void) const { as_array (); }
|
||||
operator hb_sorted_array_t<const Type> (void) const { return as_array (); }
|
||||
|
||||
template <typename T>
|
||||
Type &bsearch (unsigned int len, const T &x, Type ¬_found = Crap (Type))
|
||||
|
@ -804,7 +804,7 @@ struct SortedArrayOf : ArrayOf<Type, LenType>
|
|||
hb_sorted_array_t<const Type> as_array (void) const
|
||||
{ return hb_sorted_array (this->arrayZ, this->len); }
|
||||
operator hb_sorted_array_t<Type> (void) { return as_array (); }
|
||||
operator hb_sorted_array_t<const Type> (void) const { as_array (); }
|
||||
operator hb_sorted_array_t<const Type> (void) const { return as_array (); }
|
||||
|
||||
hb_array_t<const Type> sub_array (unsigned int start_offset, unsigned int count) const
|
||||
{ return as_array ().sub_array (start_offset, count);}
|
||||
|
|
Loading…
Reference in New Issue