mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
fix compiler warnings under clang (#5839)
This commit is contained in:
parent
09da87dc85
commit
9cf50766a6
4 changed files with 3 additions and 3 deletions
|
@ -687,7 +687,7 @@ public:
|
|||
return ensure_euf()->user_propagate_register_expr(e);
|
||||
}
|
||||
|
||||
void user_propagate_register_created(user_propagator::created_eh_t& r) {
|
||||
void user_propagate_register_created(user_propagator::created_eh_t& r) override {
|
||||
ensure_euf()->user_propagate_register_created(r);
|
||||
}
|
||||
|
||||
|
|
|
@ -1458,7 +1458,7 @@ namespace pb {
|
|||
return nullptr;
|
||||
}
|
||||
rational weight(0);
|
||||
for (auto const [w, l] : wlits)
|
||||
for (auto const &[w, l] : wlits)
|
||||
weight += w;
|
||||
if (weight < k) {
|
||||
if (lit == sat::null_literal)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue