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/configparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/configparser.cpp') diff --git a/src/configparser.cpp b/src/configparser.cpp index 46abfa061..dfc619eb4 100644 --- a/src/configparser.cpp +++ b/src/configparser.cpp @@ -362,7 +362,7 @@ struct Parser case 0xFE: case 0xFF: stack.errstr << "Do not save your files as UTF-16 or UTF-32, use UTF-8!\n"; - /*@fallthrough@*/ + [[fallthrough]]; default: throw CoreException("Syntax error - start of tag expected"); } -- cgit v1.3.1-10-gc9f91