From 1ae265888e144328dbf1df796d379bf742c4151a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 15 Apr 2019 11:31:40 -0400 Subject: [PATCH] Fix gcc warning --- src/hb-array.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hb-array.hh b/src/hb-array.hh index c744a2fd9..d42e086bd 100644 --- a/src/hb-array.hh +++ b/src/hb-array.hh @@ -43,7 +43,9 @@ struct hb_array_t : hb_iter_with_fallback_t, Type&> * Constructors. */ hb_array_t () : arrayZ (nullptr), length (0) {} - hb_array_t (const hb_array_t &o) : arrayZ (o.arrayZ), length (o.length) {} + hb_array_t (const hb_array_t &o) : + hb_iter_with_fallback_t, Type&> (), + arrayZ (o.arrayZ), length (o.length) {} template hb_array_t (const hb_array_t &o) : arrayZ (o.arrayZ), length (o.length) {}