diff --git a/src/hb-cache.hh b/src/hb-cache.hh index f8c8108f1..1bfe72168 100644 --- a/src/hb-cache.hh +++ b/src/hb-cache.hh @@ -48,6 +48,8 @@ struct hb_cache_t static_assert ((key_bits >= cache_bits), ""); static_assert ((key_bits + value_bits <= cache_bits + 8 * sizeof (item_t)), ""); + hb_cache_t () { init (); } + void init () { clear (); } void fini () {}