mirror of
https://github.com/Z3Prover/z3
synced 2025-08-30 23:10:08 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
43c2ccb29a
commit
ff47c8632b
5 changed files with 24 additions and 30 deletions
|
@ -63,10 +63,7 @@ class array_map {
|
|||
}
|
||||
|
||||
void really_flush() {
|
||||
typename vector<optional<entry> >::iterator it = m_map.begin();
|
||||
typename vector<optional<entry> >::iterator end = m_map.end();
|
||||
for (; it != end; ++it) {
|
||||
optional<entry> & e = *it;
|
||||
for (optional<entry> & e : m_map) {
|
||||
if (e) {
|
||||
m_plugin.del_eh(e->m_key, e->m_data);
|
||||
e.set_invalid();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue