Make OffsetArrayOf take OffsetType template argument

This commit is contained in:
Behdad Esfahbod 2016-09-09 15:39:52 -07:00
parent 8dddc231cf
commit a7edeb6f02
1 changed files with 2 additions and 2 deletions

View File

@ -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>