提交 51d9ba09 编写于 作者: B Behdad Esfahbod

Minor

上级 3084767e
...@@ -873,9 +873,8 @@ struct OffsetListOf : OffsetArrayOf<Type> ...@@ -873,9 +873,8 @@ struct OffsetListOf : OffsetArrayOf<Type>
}; };
/* An array with a USHORT number of elements, /* An array starting at second element. */
* starting at second element. */ template <typename Type, typename LenType=USHORT>
template <typename Type>
struct HeadlessArrayOf struct HeadlessArrayOf
{ {
inline const Type& operator [] (unsigned int i) const inline const Type& operator [] (unsigned int i) const
...@@ -922,10 +921,10 @@ struct HeadlessArrayOf ...@@ -922,10 +921,10 @@ struct HeadlessArrayOf
return TRACE_RETURN (true); return TRACE_RETURN (true);
} }
USHORT len; LenType len;
Type array[VAR]; Type array[VAR];
public: public:
DEFINE_SIZE_ARRAY (sizeof (USHORT), array); DEFINE_SIZE_ARRAY (sizeof (LenType), array);
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册