mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-15 01:18:13 +00:00
Remove pointer cast operators from ArrayOf<>
ArrayOf<>, unlike UnsizedArrayOf<>, has data before the array. This was confusing. Remove.
This commit is contained in:
parent
f1df441bed
commit
04b82b181d
1 changed files with 0 additions and 3 deletions
|
@ -452,9 +452,6 @@ struct ArrayOf
|
|||
return arrayZ[i];
|
||||
}
|
||||
|
||||
template <typename T> inline operator T * (void) { return arrayZ; }
|
||||
template <typename T> inline operator const T * (void) const { return arrayZ; }
|
||||
|
||||
inline unsigned int get_size (void) const
|
||||
{ return len.static_size + len * Type::static_size; }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue