This commit is contained in:
Behdad Esfahbod 2018-11-02 12:00:55 -04:00
parent 6e06fe162e
commit 9b7cb13794
1 changed files with 1 additions and 1 deletions

View File

@ -551,7 +551,7 @@ struct hb_array_t
return arrayZ[i];
}
inline unsigned int get_size (void) { return len * sizeof (Type); }
inline unsigned int get_size (void) const { return len * sizeof (Type); }
template <typename T> inline operator T * (void) { return arrayZ; }
template <typename T> inline operator const T * (void) const { return arrayZ; }