mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 00:55:31 +00:00
fix crash in qe_array ref counting due to wrong assignment operator of ptr_vector being called
thanks to Arie Gurfinkel for reporting this
This commit is contained in:
parent
5f9973d8c4
commit
ec1e733ef2
3 changed files with 2 additions and 17 deletions
|
@ -967,7 +967,7 @@ namespace qe {
|
|||
else {
|
||||
r.reset();
|
||||
}
|
||||
rs.push_back(r);
|
||||
rs.push_back(std::move(r));
|
||||
}
|
||||
return rs;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue