[cache] Minor rewrite assertion

This commit is contained in:
Behdad Esfahbod 2022-11-16 13:37:34 -07:00
parent a10ff20562
commit 9855b678f2
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ struct hb_cache_t
>::type; >::type;
static_assert ((key_bits >= cache_bits), ""); static_assert ((key_bits >= cache_bits), "");
static_assert ((key_bits + value_bits - cache_bits <= 8 * sizeof (item_t)), ""); static_assert ((key_bits + value_bits <= cache_bits + 8 * sizeof (item_t)), "");
void init () { clear (); } void init () { clear (); }
void fini () {} void fini () {}