mirror of
https://github.com/Z3Prover/z3
synced 2025-04-30 04:15:51 +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
|
@ -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