diff --git a/src/hb-array.hh b/src/hb-array.hh index cd0e6c45c..0be896d94 100644 --- a/src/hb-array.hh +++ b/src/hb-array.hh @@ -414,21 +414,6 @@ inline bool hb_array_t::operator == (const hb_array_t -inline uint32_t hb_array_t::hash () const { - uint32_t current = 0; - for (unsigned int i = 0; i < this->length; i++) - current = current * 31 + (uint32_t) (this->arrayZ[i] * 2654435761u); - return current; -} -template <> -inline uint32_t hb_array_t::hash () const { - uint32_t current = 0; - for (unsigned int i = 0; i < this->length; i++) - current = current * 31 + (uint32_t) (this->arrayZ[i] * 2654435761u); - return current; -} - typedef hb_array_t hb_bytes_t; typedef hb_array_t hb_ubytes_t;