Léo Lam 7855e5f73b
Turn MAX_LOGLEVEL into a true constant (and fix self-comparison warning)
This replaces the MAX_LOGLEVEL define with a constexpr variable
in order to fix self-comparison warnings in the logging macros
when compiling with Clang. (Without this change, the log level check
in the logging macros is expanded into something like this:
`if (LINFO <= LINFO)`, which triggers a tautological compare warning.)
2021-10-15 21:51:01 +02:00
..
2021-07-17 19:29:22 -07:00
2021-07-17 17:46:57 -07:00
2021-05-13 18:56:27 +02:00
2021-07-13 16:43:59 +02:00
2021-07-17 19:29:22 -07:00
2021-07-17 19:29:22 -07:00
2021-07-06 15:01:38 +02:00
2021-07-17 19:29:22 -07:00