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:
Behdad Esfahbod 2020-12-10 14:29:47 -07:00
parent 07e304b2a4
commit 25c0a792e3
1 changed files with 0 additions and 2 deletions

View File

@ -433,8 +433,6 @@ struct UnsizedArrayOf
{ return hb_array (arrayZ, len); }
hb_array_t<const Type> as_array (unsigned int len) const
{ 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>
Type &lsearch (unsigned int len, const T &x, Type &not_found = Crap (Type))