diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh index 5a01a81d3..79ac7198c 100644 --- a/src/hb-open-type-private.hh +++ b/src/hb-open-type-private.hh @@ -949,9 +949,9 @@ struct HeadlessArrayOf /* An array with sorted elements. Supports binary searching. */ -template -struct SortedArrayOf : ArrayOf { - +template +struct GenericSortedArrayOf : GenericArrayOf +{ template inline int search (const SearchType &x) const { @@ -972,6 +972,10 @@ struct SortedArrayOf : ArrayOf { } }; +/* A sorted array with a USHORT number of elements. */ +template +struct SortedArrayOf : GenericSortedArrayOf {}; + } /* namespace OT */