From 8634c0958c532e7d219e649353e1f1a74d52da1b Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 21 Apr 2018 08:43:03 +1000 Subject: 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. --- src/DBCS.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/DBCS.cxx') 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(ch); switch (codePage) { -- cgit v1.2.3