mirror of
https://github.com/Z3Prover/z3
synced 2025-08-27 05:26:01 +00:00
Use noexcept
more. (#7058)
This commit is contained in:
parent
b44ab2f620
commit
50e0fd3ba6
69 changed files with 97 additions and 112 deletions
|
@ -44,7 +44,7 @@ class inf_rational {
|
|||
|
||||
struct eq_proc { bool operator()(inf_rational const& r1, inf_rational const& r2) const { return r1 == r2; } };
|
||||
|
||||
void swap(inf_rational & n) {
|
||||
void swap(inf_rational & n) noexcept {
|
||||
m_first.swap(n.m_first);
|
||||
m_second.swap(n.m_second);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue