mirror of
https://github.com/Z3Prover/z3
synced 2025-08-21 02:30:23 +00:00
remove using insert_if_not_there2
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
9ea1cf3c5c
commit
a884201d62
47 changed files with 172 additions and 208 deletions
|
@ -93,7 +93,7 @@ class ast_counter {
|
|||
iterator end() const { return m_data.end(); }
|
||||
|
||||
int & get(ast * el) {
|
||||
return m_data.insert_if_not_there2(el, 0)->get_data().m_value;
|
||||
return m_data.insert_if_not_there(el, 0);
|
||||
}
|
||||
void update(ast * el, int delta){
|
||||
get(el) += delta;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue