0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-15 09:31:46 +02:00

ircd::util::bitset: Make set() invertible to false.

This commit is contained in:
Jason Volk 2023-04-03 10:51:21 -07:00
parent 6264071248
commit 7be2582714

View file

@ -107,6 +107,7 @@ constexpr void
ircd::util::bitset<N>::set(const size_t pos,
const bool val)
{
reset(pos);
buf[byte(pos)] |= word(val) << bit(pos);
}