3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-01 06:37:49 +00:00

Use noexcept more. (#7058)

This commit is contained in:
Bruce Mitchener 2023-12-16 19:14:53 +07:00 committed by GitHub
parent b44ab2f620
commit 50e0fd3ba6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
69 changed files with 97 additions and 112 deletions

View file

@ -761,9 +761,9 @@ public:
return temp;
}
void swap(mpz & a, mpz & b) { mpz_manager<SYNCH>::swap(a, b); }
void swap(mpz & a, mpz & b) noexcept { mpz_manager<SYNCH>::swap(a, b); }
void swap(mpq & a, mpq & b) {
void swap(mpq & a, mpq & b) noexcept {
swap(a.m_num, b.m_num);
swap(a.m_den, b.m_den);
}