[vector] Don't subclass sorted vector from unsorted

Was doubling the size unnecessarily.
This commit is contained in:
Behdad Esfahbod 2022-11-13 17:23:25 -07:00
parent 8f15fb1252
commit 4e618557a6
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
template <typename Type,
bool sorted=false>
struct hb_vector_t : std::conditional<sorted, hb_vector_t<Type, false>, hb_empty_t>::type
struct hb_vector_t
{
typedef Type item_t;
static constexpr unsigned item_size = hb_static_size (Type);