diff --git a/src/hb-ot-cff-common.hh b/src/hb-ot-cff-common.hh index 8a13d15eb..e9a62bf5d 100644 --- a/src/hb-ot-cff-common.hh +++ b/src/hb-ot-cff-common.hh @@ -84,11 +84,8 @@ struct str_buff_vec_t : hb_vector_t template struct CFFIndex { - static unsigned int calculate_offset_array_size (unsigned int offSize, unsigned int count) - { return offSize * (count + 1); } - unsigned int offset_array_size () const - { return calculate_offset_array_size (offSize, count); } + { return offSize * (count + 1); } CFFIndex *copy (hb_serialize_context_t *c) const {