mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
The Great Embooleanating
A large number of functions had return values and/or arguments changed to use ``bool`` types instead of ``int``.
This commit is contained in:
parent
3c470ffe13
commit
fd5e15b116
145 changed files with 1288 additions and 1331 deletions
|
@ -136,6 +136,7 @@ public:
|
|||
}
|
||||
|
||||
bool empty() const noexcept { return num_entries == 0; }
|
||||
size_t size() const noexcept { return num_entries; }
|
||||
|
||||
int length() const { return num_entries; }
|
||||
int max() const { return max_entries; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue