mirror of
https://github.com/Z3Prover/z3
synced 2026-02-14 04:41:48 +00:00
Revert incorrect std::move in macro_replacer.cpp - variable used before move
Co-authored-by: nunoplopes <2998477+nunoplopes@users.noreply.github.com>
This commit is contained in:
parent
018bb83ea1
commit
fb56d8462e
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ struct macro_replacer::macro_replacer_cfg : public default_rewriter_cfg {
|
|||
var_subst s(m);
|
||||
expr_ref rr = s(def, num, subst_args.data());
|
||||
r = rr;
|
||||
m_trail.push_back(std::move(rr));
|
||||
m_trail.push_back(rr);
|
||||
m_used_macro_dependencies = m.mk_join(m_used_macro_dependencies, dep);
|
||||
// skip proof terms for simplifiers
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue