3
0
Fork 0
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:
Nuno Lopes 2020-06-09 10:02:27 +01:00
parent 5f9973d8c4
commit ec1e733ef2
3 changed files with 2 additions and 17 deletions

View file

@ -967,7 +967,7 @@ namespace qe {
else {
r.reset();
}
rs.push_back(r);
rs.push_back(std::move(r));
}
return rs;
}