mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 22:41:10 +01:00
Make OffsetArrayOf take OffsetType template argument
This commit is contained in:
1 parent
8dddc231cf
commit
a7edeb6f02
1 file changed
+2
-2
@@ -952,8 +952,8 @@ struct ArrayOf
|
||||
};
|
||||
|
||||
/* Array of Offset's */
|
||||
template <typename Type>
|
||||
struct OffsetArrayOf : ArrayOf<OffsetTo<Type> > {};
|
||||
template <typename Type, typename OffsetType=USHORT>
|
||||
struct OffsetArrayOf : ArrayOf<OffsetTo<Type, OffsetType> > {};
|
||||
|
||||
/* Array of offsets relative to the beginning of the array itself. */
|
||||
template <typename Type>
|
||||
|
||||
Reference in new issue
Block a user