From 4e618557a67f6ce49f93d5c10686500628bede30 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 13 Nov 2022 17:23:25 -0700 Subject: [PATCH] [vector] Don't subclass sorted vector from unsorted Was doubling the size unnecessarily. --- src/hb-vector.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-vector.hh b/src/hb-vector.hh index a6d9f6b3f..31b430fe1 100644 --- a/src/hb-vector.hh +++ b/src/hb-vector.hh @@ -35,7 +35,7 @@ template -struct hb_vector_t : std::conditional, hb_empty_t>::type +struct hb_vector_t { typedef Type item_t; static constexpr unsigned item_size = hb_static_size (Type);