mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
use insert_if_not_there
This commit is contained in:
parent
89ba99918e
commit
d9e43f0e6d
|
@ -98,8 +98,8 @@ private:
|
|||
if (is_app(curr)) {
|
||||
app *a = to_app(curr);
|
||||
func_decl *f = a->get_decl();
|
||||
if (is_name(f) && !consts.contains(f)) {
|
||||
consts.insert(f);
|
||||
if (is_name(f)) {
|
||||
consts.insert_if_not_there(f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue