mirror of
https://github.com/Z3Prover/z3
synced 2025-11-16 02:45:48 +00:00
remove spurious copies and inc_refs around ref_vector
This commit is contained in:
parent
eabe91cdef
commit
5de6628a5d
16 changed files with 49 additions and 53 deletions
|
|
@ -409,11 +409,11 @@ namespace smt {
|
|||
for (unsigned i = 0; i < num_antecedents; i++) {
|
||||
literal l = antecedents[i];
|
||||
literal2expr(l, n);
|
||||
fmls.push_back(n);
|
||||
fmls.push_back(std::move(n));
|
||||
}
|
||||
if (consequent != false_literal) {
|
||||
literal2expr(~consequent, n);
|
||||
fmls.push_back(n);
|
||||
fmls.push_back(std::move(n));
|
||||
}
|
||||
if (logic != symbol::null) out << "(set-logic " << logic << ")\n";
|
||||
visitor.collect(fmls);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue