mirror of
https://github.com/Z3Prover/z3
synced 2025-05-03 22:05:45 +00:00
remove unneeded iterator functions
This commit is contained in:
parent
737c2208fa
commit
499ed5d844
32 changed files with 27 additions and 87 deletions
|
@ -203,7 +203,6 @@ public:
|
|||
lar_base_constraint const* operator->() const { return &cs[m_index]; }
|
||||
iterator& operator++() { next(); return *this; }
|
||||
iterator operator++(int) { auto tmp = *this; next(); return tmp; }
|
||||
bool operator==(iterator const& other) const { return m_index == other.m_index; }
|
||||
bool operator!=(iterator const& other) const { return m_index != other.m_index; }
|
||||
};
|
||||
iterator begin() const { return iterator(cs, 0); }
|
||||
|
@ -229,7 +228,6 @@ public:
|
|||
constraint_index const* operator->() const { return &m_index; }
|
||||
iterator& operator++() { next(); return *this; }
|
||||
iterator operator++(int) { auto tmp = *this; next(); return tmp; }
|
||||
bool operator==(iterator const& other) const { return m_index == other.m_index; }
|
||||
bool operator!=(iterator const& other) const { return m_index != other.m_index; }
|
||||
};
|
||||
iterator begin() const { return iterator(cs, 0); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue