Make OffsetArrayOf take OffsetType template argument

This commit is contained in:
Behdad Esfahbod committed 2016-12-16 19:06:26 -06:00
1 parent 8dddc231cf
commit a7edeb6f02
1 file changed
+2 -2
+2 -2
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>