mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 15:31:05 +01:00
[cache] Add constructor
This commit is contained in:
1 parent
ae96295d67
commit
115d572571
1 file changed
+2
@@ -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 () {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user