commit | 115d572571fbd5fdb3bf677a0248dc8fdd29b31d | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Sat Jan 28 13:22:08 2023 -0700 |
committer | Behdad Esfahbod <behdad@behdad.org> | Sat Jan 28 13:38:07 2023 -0700 |
tree | 0cd52e9d8082515d0927b277eeb56f9c4b948177 | |
parent | ae96295d6737a9e6f925ffb8043118d3e051cdaa [diff] |
[cache] Add constructor
diff --git a/src/hb-cache.hh b/src/hb-cache.hh index f8c8108..1bfe721 100644 --- a/src/hb-cache.hh +++ b/src/hb-cache.hh
@@ -48,6 +48,8 @@ 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 () {}