[vector] Don't subclass sorted vector from unsorted
Was doubling the size unnecessarily.
This commit is contained in:
parent
8f15fb1252
commit
4e618557a6
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
template <typename Type,
|
template <typename Type,
|
||||||
bool sorted=false>
|
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;
|
typedef Type item_t;
|
||||||
static constexpr unsigned item_size = hb_static_size (Type);
|
static constexpr unsigned item_size = hb_static_size (Type);
|
||||||
|
|
Loading…
Reference in New Issue