aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/CharacterCategory.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-11-01 13:00:12 +1100
committerNeil <nyamatongwe@gmail.com>2019-11-01 13:00:12 +1100
commit0777bb261f970bfb6c7cde06544630df37024322 (patch)
tree3228eb3b1363f359c498474d21aa3448227cfbb1 /lexlib/CharacterCategory.cxx
parenta975005246dc972de1e61d866fd4dfe617c89ab2 (diff)
downloadscintilla-mirror-0777bb261f970bfb6c7cde06544630df37024322.tar.gz
Remove noexcept from allocating constructors as may throw on memory exhaustion.
Diffstat (limited to 'lexlib/CharacterCategory.cxx')
-rw-r--r--lexlib/CharacterCategory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/CharacterCategory.cxx b/lexlib/CharacterCategory.cxx
index 35f636564..1e7ae8361 100644
--- a/lexlib/CharacterCategory.cxx
+++ b/lexlib/CharacterCategory.cxx
@@ -4016,7 +4016,7 @@ bool IsXidContinue(int character) {
}
}
-CharacterCategoryMap::CharacterCategoryMap() noexcept {
+CharacterCategoryMap::CharacterCategoryMap() {
Optimize(256);
}