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:
parent
b44ab2f620
commit
50e0fd3ba6
69 changed files with 97 additions and 112 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue