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
commit55d1068389ac95f94ffe6ac0a5ca87820af9b363 (patch)
tree5b3439afbcd10365da2abd6ac578a98e50d06c68 /lexlib/CharacterCategory.cxx
parent16b9ac336b766f1fd394d77d40611a4875162930 (diff)
downloadscintilla-mirror-55d1068389ac95f94ffe6ac0a5ca87820af9b363.tar.gz
Backport: Remove noexcept from allocating constructors as may throw on memory exhaustion.
Backport of changeset 7750:12807611677a.
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 fa6b81232..c166e57c4 100644
--- a/lexlib/CharacterCategory.cxx
+++ b/lexlib/CharacterCategory.cxx
@@ -4018,7 +4018,7 @@ bool IsXidContinue(int character) {
}
}
-CharacterCategoryMap::CharacterCategoryMap() noexcept {
+CharacterCategoryMap::CharacterCategoryMap() {
Optimize(256);
}