3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

remove unneeded creation of tmp mpz_manager

This commit is contained in:
Nuno Lopes 2018-07-09 10:52:27 +01:00
parent 6f7271a5e8
commit 009708ed07
2 changed files with 14 additions and 12 deletions

View file

@ -714,6 +714,12 @@ public:
return temp;
}
mpz dup(const mpz & source) {
mpz temp;
set(temp, source);
return temp;
}
void swap(mpz & a, mpz & b) { mpz_manager<SYNCH>::swap(a, b); }
void swap(mpq & a, mpq & b) {