mirror of
https://github.com/Z3Prover/z3
synced 2025-05-10 17:25:47 +00:00
Prefer using empty rather than size comparisons.
This commit is contained in:
parent
a83097d5cc
commit
e570940662
56 changed files with 104 additions and 104 deletions
|
@ -281,7 +281,7 @@ namespace smt {
|
|||
}
|
||||
}
|
||||
if (order == 1) {
|
||||
if (undef_children.size() == 0) {
|
||||
if (undef_children.empty()) {
|
||||
// a bug?
|
||||
} else if (undef_children.size() == 1) {
|
||||
undef_child = undef_children[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue