3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-18 02:16:40 +00:00

add obj_ref::operator=(obj_ref &&) + a few explicit uses

This commit is contained in:
Nuno Lopes 2018-06-26 17:00:56 +01:00
parent ea4218a192
commit 2b31024dab
5 changed files with 14 additions and 5 deletions

View file

@ -448,7 +448,7 @@ void rewriter_tpl<Config>::process_app(app * t, frame & fr) {
m_r = result_stack().back();
if (!is_ground(m_r)) {
m_inv_shifter(m_r, num_args, tmp);
m_r = tmp;
m_r = std::move(tmp);
}
result_stack().shrink(fr.m_spos);
result_stack().push_back(m_r);