diff --git a/src/hb-vector.hh b/src/hb-vector.hh index 0f386fc41..9cd67c32b 100644 --- a/src/hb-vector.hh +++ b/src/hb-vector.hh @@ -231,8 +231,7 @@ struct hb_vector_t : std::conditional, hb_empty } template ::value)> + hb_enable_if (hb_is_trivially_constructible(T))> void grow_vector (unsigned size) { @@ -240,8 +239,7 @@ struct hb_vector_t : std::conditional, hb_empty length = size; } template ::value)> + hb_enable_if (!hb_is_trivially_constructible(T))> void grow_vector (unsigned size) {