3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-25 04:26:00 +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

@ -358,7 +358,7 @@ namespace algebraic_numbers {
return a.to_algebraic()->m_p_sz - 1;
}
void swap(numeral & a, numeral & b) {
void swap(numeral & a, numeral & b) noexcept {
std::swap(a.m_cell, b.m_cell);
}
@ -2935,7 +2935,7 @@ namespace algebraic_numbers {
return m_imp->to_rational(const_cast<numeral&>(a), r);
}
void manager::swap(numeral & a, numeral & b) {
void manager::swap(numeral & a, numeral & b) noexcept {
return m_imp->swap(a, b);
}