mirror of
https://github.com/Z3Prover/z3
synced 2025-07-26 06:07:01 +00:00
bit_vector: fix operator==() for the case that num_bits is a multiple of 32
Signed-off-by: Nuno Lopes <t-nclaud@microsoft.com>
This commit is contained in:
parent
39d7246251
commit
c824178e7e
2 changed files with 4 additions and 3 deletions
|
@ -171,9 +171,9 @@ public:
|
|||
resize(sz, val);
|
||||
}
|
||||
|
||||
bool operator==(bit_vector const & other);
|
||||
bool operator==(bit_vector const & other) const;
|
||||
|
||||
bool operator!=(bit_vector const & other) { return !operator==(other); }
|
||||
bool operator!=(bit_vector const & other) const { return !operator==(other); }
|
||||
|
||||
bit_vector & operator=(bit_vector const & source) {
|
||||
m_num_bits = source.m_num_bits;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue