aboutsummaryrefslogtreecommitdiff
path: root/src/common/Logging/AppenderConsole.cpp
diff options
context:
space:
mode:
authorPeter Keresztes Schmidt <carbenium@outlook.com>2020-07-18 20:42:28 +0200
committerGitHub <noreply@github.com>2020-07-18 20:42:28 +0200
commit85b5b842ca6c05d4e51081e6c3282940a80f3761 (patch)
tree4b5d72c0d163cff0a134fcfe4c50f05b59a46668 /src/common/Logging/AppenderConsole.cpp
parent7032ee0bdb47c995dfd89bce3d5b6fad13ec6d73 (diff)
Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs (#25054)
Related: #25006
Diffstat (limited to 'src/common/Logging/AppenderConsole.cpp')
-rw-r--r--src/common/Logging/AppenderConsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Logging/AppenderConsole.cpp b/src/common/Logging/AppenderConsole.cpp
index f69ed1b1494..86e7634f1b9 100644
--- a/src/common/Logging/AppenderConsole.cpp
+++ b/src/common/Logging/AppenderConsole.cpp
@@ -185,7 +185,7 @@ void AppenderConsole::_write(LogMessage const* message)
index = 0;
break;
case LOG_LEVEL_ERROR:
- /* fallthrough */
+ [[fallthrough]];
default:
index = 1;
break;