From 23576633750d4f2ae552333c90eda10aa592e7af Mon Sep 17 00:00:00 2001 From: Michiharu Ariza Date: Thu, 20 Dec 2018 16:17:53 -0800 Subject: [PATCH] add byte_str_t copy ctor --- src/hb-cff-interp-common.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hb-cff-interp-common.hh b/src/hb-cff-interp-common.hh index 80857aec1..f0941cf13 100644 --- a/src/hb-cff-interp-common.hh +++ b/src/hb-cff-interp-common.hh @@ -302,6 +302,8 @@ struct byte_str_t : hb_ubytes_t { byte_str_t () : hb_ubytes_t () {} + byte_str_t (const byte_str_t &bs) + : hb_ubytes_t (bs) {} byte_str_t (const UnsizedByteStr& s, unsigned int l) : hb_ubytes_t ((const unsigned char*)&s, l) {} byte_str_t (const unsigned char *s, unsigned int l)