mirror of
https://github.com/Z3Prover/z3
synced 2025-08-26 04:56:03 +00:00
remove unneeded iterator functions
This commit is contained in:
parent
737c2208fa
commit
499ed5d844
32 changed files with 27 additions and 87 deletions
|
@ -125,7 +125,6 @@ namespace pb {
|
|||
iterator(constraint const& c, unsigned idx) : c(c), idx(idx) {}
|
||||
literal operator*() { return c.get_lit(idx); }
|
||||
iterator& operator++() { ++idx; return *this; }
|
||||
bool operator==(iterator const& other) const { SASSERT(&c == &other.c); return idx == other.idx; }
|
||||
bool operator!=(iterator const& other) const { SASSERT(&c == &other.c); return idx != other.idx; }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue