mirror of
https://github.com/Z3Prover/z3
synced 2026-02-17 06:11:44 +00:00
Replace user-defined swap with C++11 move semantics for covert move patterns (#8543)
This commit is contained in:
parent
feabb3ae2e
commit
921006f628
6 changed files with 28 additions and 10 deletions
|
|
@ -388,7 +388,7 @@ namespace qe {
|
|||
new_result.reset();
|
||||
ex.project(vars[i], result.size(), result.data(), new_result);
|
||||
TRACE(qe, display_project(tout, vars[i], result, new_result););
|
||||
result.swap(new_result);
|
||||
result = std::move(new_result);
|
||||
}
|
||||
negate_clause(result);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue