mirror of
https://github.com/OpenTTD/OpenTTD
synced 2025-12-10 06:52:05 +01:00
Fix: BaseBitSet bit iteration for values which don't fit in 32 bits (#14757)
This commit is contained in:
committed by
GitHub
parent
06d8e039c6
commit
6d5f150b3d
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user