Skip to content

Commit

Permalink
remove deprecated and bind1st and unused warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Nov 8, 2019
1 parent 984db30 commit 4fabaf9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/muz/base/dl_rule_set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
1 change: 0 additions & 1 deletion src/smt/theory_arith_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 0 additions & 2 deletions src/tactic/fd_solver/smtfd_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit 4fabaf9

Please sign in to comment.