aboutsummaryrefslogtreecommitdiffstats
path: root/src/configparser.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-05-11 13:14:14 +0100
committerGravatar Sadie Powell2020-05-11 13:15:26 +0100
commit0a6241a388fa5756362782f3a364539438f4d98d (patch)
tree1a88d8f93e261a883535eefc7cb0e400e7a926d5 /src/configparser.cpp
parentBump the minimum compiler version to C++17. (diff)
downloadinspircd++-0a6241a388fa5756362782f3a364539438f4d98d.tar.gz
inspircd++-0a6241a388fa5756362782f3a364539438f4d98d.tar.bz2
inspircd++-0a6241a388fa5756362782f3a364539438f4d98d.zip
Switch to the C++17 fallthrough attribute.
Diffstat (limited to 'src/configparser.cpp')
-rw-r--r--src/configparser.cpp2
1 files changed, 1 insertions, 1 deletions
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");
}