From 0a6241a388fa5756362782f3a364539438f4d98d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 11 May 2020 13:14:14 +0100 Subject: Switch to the C++17 fallthrough attribute. --- src/command_parse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command_parse.cpp') 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); -- cgit v1.3.1-10-gc9f91