mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
Fix clang-tidy cppcoreguidelines-macro-usage findings (macros as constants)
This commit is contained in:
parent
d6d56d330b
commit
ad99a6821e
16 changed files with 96 additions and 80 deletions
|
@ -11,8 +11,8 @@
|
|||
#include "zeek/IPAddr.h"
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#define DEFAULT_SIZE 128
|
||||
#define SLOP 10
|
||||
constexpr unsigned int DEFAULT_SIZE = 128;
|
||||
constexpr int SLOP = 10;
|
||||
|
||||
namespace zeek {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue