Fix: BaseBitSet bit iteration for values which don't fit in 32 bits (#14757)

This commit is contained in:
Jonathan G Rennison
2025-11-04 19:23:18 +00:00
committed by dP
parent 8c6e5ec248
commit b79bc7ed0b

View File

@@ -254,8 +254,8 @@ public:
return std::nullopt;
}
auto begin() const { return SetBitIterator<Tvalue_type>(this->data).begin(); }
auto end() const { return SetBitIterator<Tvalue_type>(this->data).end(); }
auto begin() const { return SetBitIterator<Tvalue_type, Tstorage>(this->data).begin(); }
auto end() const { return SetBitIterator<Tvalue_type, Tstorage>(this->data).end(); }
private:
Tstorage data; ///< Bitmask of values.