diff --git a/src/hb-meta.hh b/src/hb-meta.hh index e0b7ef0cc..90757d38a 100644 --- a/src/hb-meta.hh +++ b/src/hb-meta.hh @@ -192,14 +192,12 @@ template <> struct hb_int_max : hb_integral_constant::value #define hb_is_trivially_copy_assignable(T) std::is_trivially_copy_assignable::value #define hb_is_trivially_constructible(T) std::is_trivially_constructible::value -#define hb_is_copy_constructible(T) std::is_copy_constructible::value #define hb_is_trivially_copy_constructible(T) std::is_trivially_copy_constructible::value #define hb_is_trivially_destructible(T) std::is_trivially_destructible::value #endif diff --git a/src/hb-vector.hh b/src/hb-vector.hh index a5447a64d..4035bb458 100644 --- a/src/hb-vector.hh +++ b/src/hb-vector.hh @@ -264,7 +264,7 @@ struct hb_vector_t : std::conditional, hb_empty } template + std::is_copy_constructible::value)> void copy_vector (const hb_vector_t &other) {