Remove unused+wrong UnsizedArrayOf<> operators
Said compiler is wrong to err since they are unused. But yeah, they didn't make sense and were copy/paste leftover. Fixes https://github.com/harfbuzz/harfbuzz/issues/2763
This commit is contained in:
parent
07e304b2a4
commit
25c0a792e3
|
@ -433,8 +433,6 @@ struct UnsizedArrayOf
|
||||||
{ return hb_array (arrayZ, len); }
|
{ return hb_array (arrayZ, len); }
|
||||||
hb_array_t<const Type> as_array (unsigned int len) const
|
hb_array_t<const Type> as_array (unsigned int len) const
|
||||||
{ return hb_array (arrayZ, len); }
|
{ return hb_array (arrayZ, len); }
|
||||||
operator hb_array_t< Type> () { return as_array (); }
|
|
||||||
operator hb_array_t<const Type> () const { return as_array (); }
|
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
Type &lsearch (unsigned int len, const T &x, Type ¬_found = Crap (Type))
|
Type &lsearch (unsigned int len, const T &x, Type ¬_found = Crap (Type))
|
||||||
|
|
Loading…
Reference in New Issue