mirror of
https://github.com/Z3Prover/z3
synced 2025-08-20 02:00:22 +00:00
Use noexcept
more. (#7058)
This commit is contained in:
parent
b44ab2f620
commit
50e0fd3ba6
69 changed files with 97 additions and 112 deletions
|
@ -31,7 +31,7 @@ void permutation::reset(unsigned size) {
|
|||
}
|
||||
}
|
||||
|
||||
void permutation::swap(unsigned i, unsigned j) {
|
||||
void permutation::swap(unsigned i, unsigned j) noexcept {
|
||||
unsigned i_prime = m_p[i];
|
||||
unsigned j_prime = m_p[j];
|
||||
std::swap(m_p[i], m_p[j]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue