even more define to static constexpr conversions

This commit is contained in:
Axel Kohlmeyer
2024-01-25 01:28:34 -05:00
parent 7cb907da58
commit 6442e05988
65 changed files with 88 additions and 96 deletions

View File

@ -46,7 +46,7 @@ enum { NODISCARD, MIXED, YESDISCARD };
enum { ONCE, NFREQ, EVERY }; // used in several files
enum { LIMITMAX, LIMITEXACT };
#define IDMAX (1024 * 1024)
static constexpr int IDMAX = (1024 * 1024);
/* ---------------------------------------------------------------------- */