mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Fix clang-tidy performance-enum-size warnings in headers
This commit is contained in:
parent
89ac0cb418
commit
f386deba94
76 changed files with 184 additions and 136 deletions
|
@ -304,15 +304,15 @@ private:
|
|||
bool PermitFlowWeird(const char* name, const IPAddr& o, const IPAddr& r);
|
||||
bool PermitExpiredConnWeird(const char* name, const RecordVal& conn_id);
|
||||
|
||||
enum class PermitWeird { Allow, Deny, Unknown };
|
||||
enum class PermitWeird : uint8_t { Allow, Deny, Unknown };
|
||||
PermitWeird CheckGlobalWeirdLists(const char* name);
|
||||
|
||||
bool EmitToStderr(bool flag);
|
||||
|
||||
int errors;
|
||||
int in_error_handler;
|
||||
bool via_events;
|
||||
bool syslog_open;
|
||||
int in_error_handler;
|
||||
bool info_to_stderr;
|
||||
bool warnings_to_stderr;
|
||||
bool errors_to_stderr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue