Make OffsetArrayOf take OffsetType template argument
This commit is contained in:
parent
8dddc231cf
commit
a7edeb6f02
|
@ -952,8 +952,8 @@ struct ArrayOf
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Array of Offset's */
|
/* Array of Offset's */
|
||||||
template <typename Type>
|
template <typename Type, typename OffsetType=USHORT>
|
||||||
struct OffsetArrayOf : ArrayOf<OffsetTo<Type> > {};
|
struct OffsetArrayOf : ArrayOf<OffsetTo<Type, OffsetType> > {};
|
||||||
|
|
||||||
/* Array of offsets relative to the beginning of the array itself. */
|
/* Array of offsets relative to the beginning of the array itself. */
|
||||||
template <typename Type>
|
template <typename Type>
|
||||||
|
|
Loading…
Reference in New Issue