3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-22 16:27:37 +00:00

Replace user-defined swap with C++11 move semantics for covert move patterns (#8543)

This commit is contained in:
Copilot 2026-02-09 17:52:30 +00:00 committed by Nikolaj Bjorner
parent c50d41a6e8
commit 58431ec158
6 changed files with 28 additions and 10 deletions

View file

@ -2134,7 +2134,7 @@ namespace polynomial {
m_m2pos.reset(m);
m_m2pos.set(m, i);
}
m_tmp_as.swap(new_as);
m_tmp_as = std::move(new_as);
}
// For each monomial m