mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 07:51:10 +01:00
Fix const-confusion in hb_array_t as well
This commit is contained in:
1 parent
0da22fb0ad
commit
f6e7cb51b1
1 file changed
+2
-4
+2
-4
@@ -553,11 +553,9 @@ struct hb_array_t
|
||||
|
||||
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; }
|
||||
template <typename T> inline operator T * (void) const { return arrayZ; }
|
||||
|
||||
inline Type * operator & (void) { return arrayZ; }
|
||||
inline const Type * operator & (void) const { return arrayZ; }
|
||||
inline Type * operator & (void) const { return arrayZ; }
|
||||
|
||||
inline hb_array_t<Type> sub_array (unsigned int start_offset, unsigned int seg_count) const
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user