aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/DBCS.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-04-21 08:43:03 +1000
committerNeil <nyamatongwe@gmail.com>2018-04-21 08:43:03 +1000
commit2a1338ce2d7c813db6f650154e2e3b6fdde06ff5 (patch)
treed076bc0442e8f06531bbaf04c13fc2e53a35b483 /src/DBCS.cxx
parent15789ad27ff66c8928d7dc90683af11d6c045009 (diff)
downloadscintilla-mirror-2a1338ce2d7c813db6f650154e2e3b6fdde06ff5.tar.gz
Backport: Tighten definition of regular expression iterators so they are noexcept and
define all the standard member functions. This cascades to all methods called by the iterators, affecting Document, CellBuffer, Partitioning, SplitVector and UTF-8 and DBCS functions. Other trivial functions declared noexcept. Backport of changeset 6724:f2dfdc0dddd3.
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) {