aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/DBCS.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DBCS.cxx')
-rw-r--r--src/DBCS.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DBCS.cxx b/src/DBCS.cxx
index 0fb7ef0af..644cad04d 100644
--- a/src/DBCS.cxx
+++ b/src/DBCS.cxx
@@ -11,7 +11,7 @@ using namespace Scintilla;
namespace Scintilla {
-bool DBCSIsLeadByte(int codePage, char ch) {
+bool DBCSIsLeadByte(int codePage, char ch) noexcept {
// Byte ranges found in Wikipedia articles with relevant search strings in each case
const unsigned char uch = static_cast<unsigned char>(ch);
switch (codePage) {