diff options
| author | 2020-05-11 13:14:14 +0100 | |
|---|---|---|
| committer | 2020-05-11 13:15:26 +0100 | |
| commit | 0a6241a388fa5756362782f3a364539438f4d98d (patch) | |
| tree | 1a88d8f93e261a883535eefc7cb0e400e7a926d5 /src/command_parse.cpp | |
| parent | Bump the minimum compiler version to C++17. (diff) | |
Switch to the C++17 fallthrough attribute.
Diffstat (limited to 'src/command_parse.cpp')
| -rw-r--r-- | src/command_parse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp index dc4b5c5cb..b9ebd7ea3 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -428,7 +428,7 @@ void CommandParser::TranslateSingleParam(TranslateType to, const std::string& it } // If no custom translator was given, fall through } - /*@fallthrough@*/ + [[fallthrough]]; default: /* Do nothing */ dest.append(item); |
