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
commit8634c0958c532e7d219e649353e1f1a74d52da1b (patch)
tree91352944c8b5c727a385426431d2e62f3301f6ad /src/DBCS.cxx
parentf00008fa5a49722171c5b288f988a64443122115 (diff)
downloadscintilla-mirror-8634c0958c532e7d219e649353e1f1a74d52da1b.tar.gz
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.
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) {