mirror of
https://github.com/Z3Prover/z3
synced 2026-02-14 04:41:48 +00:00
Apply std::move to 3 more expr_ref/app_ref in sat/smt/ (batch 3)
Co-authored-by: nunoplopes <2998477+nunoplopes@users.noreply.github.com>
This commit is contained in:
parent
6e75c971f3
commit
ee7dc9a1cc
3 changed files with 3 additions and 3 deletions
|
|
@ -220,7 +220,7 @@ namespace arith {
|
|||
expr_ref eq(m.mk_eq(x->get_expr(), y->get_expr()), m);
|
||||
if (!is_eq) eq = m.mk_not(eq);
|
||||
args.push_back(arith.mk_int(1));
|
||||
args.push_back(eq);
|
||||
args.push_back(std::move(eq));
|
||||
};
|
||||
rational lc(1);
|
||||
for (unsigned i = m_lit_head; i < m_lit_tail; ++i)
|
||||
|
|
|
|||
|
|
@ -430,7 +430,7 @@ namespace q {
|
|||
expr_ref meq = mk_or(meqs);
|
||||
expr_ref veq = mk_or(veqs);
|
||||
assert_expr(meq);
|
||||
qb.domain_eqs.push_back(veq);
|
||||
qb.domain_eqs.push_back(std::move(veq));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ namespace recfun {
|
|||
SASSERT(!is_enabled_guard(guard));
|
||||
app_ref dlimit = m_util.mk_num_rounds_pred(m_num_rounds);
|
||||
expr_ref_vector core(m);
|
||||
core.push_back(dlimit);
|
||||
core.push_back(std::move(dlimit));
|
||||
core.push_back(guard);
|
||||
if (!m_guard2pending.contains(guard)) {
|
||||
m_disabled_guards.push_back(guard);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue