summaryrefslogtreecommitdiff
path: root/Source/Core/Common/SettingsHandler.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-10-15 21:45:27 +0200
committerLéo Lam <leo@leolam.fr>2021-10-15 21:51:01 +0200
commit7855e5f73b375433135cd9d319fda186023523e9 (patch)
tree7e5424f19d66ea2306861eb29163a9e1ef918aaf /Source/Core/Common/SettingsHandler.cpp
parent6bf10e02766b7c3db30797250c0f3f5fae2eb2d4 (diff)
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.)
Diffstat (limited to 'Source/Core/Common/SettingsHandler.cpp')
0 files changed, 0 insertions, 0 deletions