mirror of
https://github.com/Z3Prover/z3
synced 2025-05-02 13:27:01 +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
|
@ -1057,7 +1057,7 @@ protected:
|
|||
line.push_back(ch);
|
||||
ch = strm.get();
|
||||
}
|
||||
return line.size() > 0;
|
||||
return !line.empty();
|
||||
}
|
||||
|
||||
void add_rule(app* head, unsigned sz, app* const* body, const bool * is_neg) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue