From 5e41766bb92d7b58ededf40e1e031b4690464f48 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 1 Dec 2022 20:19:04 -0700 Subject: [PATCH] [array] Fix hb_bytes_t memcpy copy Wasn't being used! --- src/hb-array.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-array.hh b/src/hb-array.hh index 67cfa454e..4c61f1a73 100644 --- a/src/hb-array.hh +++ b/src/hb-array.hh @@ -267,7 +267,7 @@ struct hb_array_t : hb_iter_with_fallback_t, Type&> template + hb_enable_if (!(sizeof (U) < sizeof (long long) && hb_is_trivially_copy_assignable(hb_decay)))> hb_array_t copy (hb_serialize_context_t *c) const { TRACE_SERIALIZE (this); @@ -280,7 +280,7 @@ struct hb_array_t : hb_iter_with_fallback_t, Type&> template + hb_enable_if (sizeof (U) < sizeof (long long) && hb_is_trivially_copy_assignable(hb_decay))> hb_array_t copy (hb_serialize_context_t *c) const { TRACE_SERIALIZE (this);