mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +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
|
@ -16,12 +16,12 @@ namespace detail {
|
|||
|
||||
class SMTP_BDAT_Analyzer;
|
||||
|
||||
enum SMTP_Cmd {
|
||||
enum SMTP_Cmd : uint8_t {
|
||||
#include "SMTP_cmd.def"
|
||||
};
|
||||
|
||||
// State is updated on every SMTP reply.
|
||||
enum SMTP_State {
|
||||
enum SMTP_State : uint8_t {
|
||||
SMTP_CONNECTED, // 0: before the opening message
|
||||
SMTP_INITIATED, // 1: after opening message 220, EHLO/HELO expected
|
||||
SMTP_NOT_AVAILABLE, // 2: after opening message 554, etc.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue