mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
this->size()
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
88fd088a09
commit
8e83d04e02
|
@ -307,8 +307,8 @@ public:
|
|||
ref_vector & operator=(ref_vector const & other) = delete;
|
||||
|
||||
bool operator==(ref_vector const& other) const {
|
||||
if (other.size() != size()) return false;
|
||||
for (unsigned i = size(); i-- > 0; ) {
|
||||
if (other.size() != this->size()) return false;
|
||||
for (unsigned i = this->size(); i-- > 0; ) {
|
||||
if (other[i] != (*this)[i]) return false;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue