Fix clang-tidy performance-enum-size warnings in headers

This commit is contained in:
Tim Wojtulewicz 2025-06-09 17:06:52 -07:00
parent 89ac0cb418
commit f386deba94
76 changed files with 184 additions and 136 deletions

View file

@ -7,6 +7,7 @@
#ifdef DEBUG
#include <cstdint>
#include <cstdio>
#include <set>
#include <string>
@ -35,7 +36,7 @@ class Plugin;
// To add a new debugging stream, add a constant here as well as
// an entry to DebugLogger::streams in DebugLogger.cc.
enum DebugStream {
enum DebugStream : uint8_t {
DBG_SERIAL, // Serialization
DBG_RULES, // Signature matching
DBG_STRING, // String code