[cff-common] Remove redundant operator implementation

This commit is contained in:
Behdad Esfahbod 2022-05-09 15:22:55 -06:00
parent a96b408d80
commit d3b21387fd
1 changed files with 0 additions and 7 deletions

View File

@ -299,13 +299,6 @@ struct CFFIndex
template <typename COUNT, typename TYPE>
struct CFFIndexOf : CFFIndex<COUNT>
{
const byte_str_t operator [] (unsigned int index) const
{
if (likely (index < CFFIndex<COUNT>::count))
return byte_str_t (CFFIndex<COUNT>::data_base () + CFFIndex<COUNT>::offset_at (index) - 1, CFFIndex<COUNT>::length_at (index));
return Null (byte_str_t);
}
template <typename DATA, typename PARAM1, typename PARAM2>
bool serialize (hb_serialize_context_t *c,
unsigned int offSize_,