[bit-set-invertible] Remove extra check
We don't expect immutable / null set in this code.
This commit is contained in:
parent
1babe80ed2
commit
92908c122b
|
@ -48,7 +48,7 @@ struct hb_bit_set_invertible_t
|
||||||
|
|
||||||
void reset () { s.reset (); inverted = false; }
|
void reset () { s.reset (); inverted = false; }
|
||||||
void clear () { s.clear (); inverted = false; }
|
void clear () { s.clear (); inverted = false; }
|
||||||
void invert () { if (!s.in_error ()) inverted = !inverted; }
|
void invert () { inverted = !inverted; }
|
||||||
|
|
||||||
bool is_empty () const
|
bool is_empty () const
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue