mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 00:18:45 +00:00
Use noexcept
more. (#7058)
This commit is contained in:
parent
b44ab2f620
commit
50e0fd3ba6
69 changed files with 97 additions and 112 deletions
|
@ -369,7 +369,7 @@ namespace sat {
|
|||
return result;
|
||||
}
|
||||
|
||||
void model_converter::swap(bool_var v, unsigned sz, literal_vector& clause) {
|
||||
void model_converter::swap(bool_var v, unsigned sz, literal_vector& clause) noexcept {
|
||||
for (unsigned j = 0; j < sz; ++j) {
|
||||
if (v == clause[j].var()) {
|
||||
std::swap(clause[0], clause[j]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue