[bit-set-invertible] Remove extra check

We don't expect immutable / null set in this code.
This commit is contained in:
Behdad Esfahbod 2021-08-19 15:28:26 -06:00
parent 1babe80ed2
commit 92908c122b
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ struct hb_bit_set_invertible_t
void reset () { s.reset (); inverted = false; }
void clear () { s.clear (); inverted = false; }
void invert () { if (!s.in_error ()) inverted = !inverted; }
void invert () { inverted = !inverted; }
bool is_empty () const
{