3
0
Fork 0
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:
Doug Woos 2017-01-31 11:47:44 -08:00
parent 89ba99918e
commit d9e43f0e6d

View file

@ -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);
}
}
}