[cache] Minor rewrite assertion
This commit is contained in:
parent
a10ff20562
commit
9855b678f2
|
@ -46,7 +46,7 @@ struct hb_cache_t
|
|||
>::type;
|
||||
|
||||
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 fini () {}
|
||||
|
|
Loading…
Reference in New Issue