mirror of
https://github.com/Z3Prover/z3
synced 2025-06-04 05:11:21 +00:00
this->size()
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
88fd088a09
commit
8e83d04e02
1 changed files with 2 additions and 2 deletions
|
@ -307,8 +307,8 @@ public:
|
||||||
ref_vector & operator=(ref_vector const & other) = delete;
|
ref_vector & operator=(ref_vector const & other) = delete;
|
||||||
|
|
||||||
bool operator==(ref_vector const& other) const {
|
bool operator==(ref_vector const& other) const {
|
||||||
if (other.size() != size()) return false;
|
if (other.size() != this->size()) return false;
|
||||||
for (unsigned i = size(); i-- > 0; ) {
|
for (unsigned i = this->size(); i-- > 0; ) {
|
||||||
if (other[i] != (*this)[i]) return false;
|
if (other[i] != (*this)[i]) return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue