mirror of
https://github.com/Z3Prover/z3
synced 2025-08-25 20:46:01 +00:00
remove unneeded iterator functions
This commit is contained in:
parent
737c2208fa
commit
499ed5d844
32 changed files with 27 additions and 87 deletions
|
@ -188,7 +188,6 @@ namespace sat {
|
|||
iterator(clause_wrapper const& c, unsigned idx): m_idx(idx), m_cw(c) {}
|
||||
iterator& operator++() { ++m_idx; return *this; }
|
||||
literal operator*() { return m_cw[m_idx]; }
|
||||
bool operator==(iterator const& other) const { SASSERT(&m_cw == &other.m_cw); return m_idx == other.m_idx; }
|
||||
bool operator!=(iterator const& other) const { SASSERT(&m_cw == &other.m_cw); return m_idx != other.m_idx; }
|
||||
};
|
||||
iterator begin() const { return iterator(*this, 0); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue