3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-05 17:14:07 +00:00

remove deprecated and bind1st and unused warnings

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-11-08 13:26:50 -08:00
parent 984db3047b
commit 4fabaf95aa
3 changed files with 0 additions and 5 deletions

View file

@ -697,8 +697,6 @@ namespace datalog {
strats_index++;
}
//we have managed to topologicaly order all the components
SASSERT(std::find_if(m_components.begin(), m_components.end(),
std::bind1st(std::not_equal_to<item_set*>(), (item_set*)0)) == m_components.end());
//reverse the strats array, so that the only the later components would depend on earlier ones
std::reverse(m_strats.begin(), m_strats.end());

View file

@ -3291,7 +3291,6 @@ namespace smt {
for (app* n : m_underspecified_ops) {
tout << mk_pp(n, get_manager()) << "\n";
});
context& ctx = get_context();
m_factory = alloc(arith_factory, get_manager());
m.register_factory(m_factory);
compute_epsilon();

View file

@ -928,14 +928,12 @@ namespace smtfd {
expr_ref_vector eqs(m);
m_args.reset();
m_args.push_back(a);
bool all_eq = true;
for (unsigned i = 1; i < t->get_num_args(); ++i) {
expr* arg1 = t->get_arg(i);
expr* arg2 = store->get_arg(i);
if (arg1 == arg2) continue;
expr_ref v1 = eval_abs(arg1);
expr_ref v2 = eval_abs(arg2);
if (v1 != v2) all_eq = false;
m_args.push_back(arg1);
eqs.push_back(m.mk_eq(arg1, arg2));
}