| 212 | FL_DISABLE_WARNING_PUSH |
| 213 | FL_DISABLE_WARNING_NULL_DEREFERENCE |
| 214 | void flip(fl::u32 pos) FL_NOEXCEPT { |
| 215 | if (_blocks && pos < _size) { |
| 216 | const fl::u32 idx = pos / bits_per_block; |
| 217 | const fl::u32 off = pos % bits_per_block; |
| 218 | _blocks[idx] ^= (static_cast<block_type>(1) << off); |
| 219 | } |
| 220 | } |
| 221 | FL_DISABLE_WARNING_POP |
| 222 | |
| 223 | // Flip all bits |
no outgoing calls
no test coverage detected