[bit-page] Mark len() function static

This commit is contained in:
Behdad Esfahbod 2023-01-17 05:59:19 -07:00
parent 0a3e4c12ac
commit 92d5ec2f16
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ struct hb_bit_page_t
void init0 () { v.init0 (); }
void init1 () { v.init1 (); }
constexpr unsigned len () const
static inline constexpr unsigned len ()
{ return ARRAY_LENGTH_CONST (v); }
bool is_empty () const