From 748f960b38b54e29e6496988359ad0160e60d98e Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Fri, 27 Jan 2023 14:14:42 -0700 Subject: [PATCH] Disable [[fallthrough]] declarations --- src/fileio/xml-parser/tinyxmlparser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fileio/xml-parser/tinyxmlparser.cpp b/src/fileio/xml-parser/tinyxmlparser.cpp index 35b260c00..65297a9fd 100644 --- a/src/fileio/xml-parser/tinyxmlparser.cpp +++ b/src/fileio/xml-parser/tinyxmlparser.cpp @@ -109,17 +109,17 @@ void TiXmlBase::ConvertUTF32ToUTF8( unsigned long input, char* output, int* leng --output; *output = (char)((input | BYTE_MARK) & BYTE_MASK); input >>= 6; - [[fallthrough]]; + // [[fallthrough]]; case 3: --output; *output = (char)((input | BYTE_MARK) & BYTE_MASK); input >>= 6; - [[fallthrough]]; + // [[fallthrough]]; case 2: --output; *output = (char)((input | BYTE_MARK) & BYTE_MASK); input >>= 6; - [[fallthrough]]; + // [[fallthrough]]; case 1: --output; *output = (char)(input | FIRST_BYTE_MARK[*length]);