aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/CharacterCategory.h
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.h
parenta975005246dc972de1e61d866fd4dfe617c89ab2 (diff)
downloadscintilla-mirror-0777bb261f970bfb6c7cde06544630df37024322.tar.gz
Remove noexcept from allocating constructors as may throw on memory exhaustion.
Diffstat (limited to 'lexlib/CharacterCategory.h')
-rw-r--r--lexlib/CharacterCategory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/CharacterCategory.h b/lexlib/CharacterCategory.h
index d1ac39152..cd3320dd9 100644
--- a/lexlib/CharacterCategory.h
+++ b/lexlib/CharacterCategory.h
@@ -32,7 +32,7 @@ class CharacterCategoryMap {
private:
std::vector<unsigned char> dense;
public:
- CharacterCategoryMap() noexcept;
+ CharacterCategoryMap();
CharacterCategory CategoryFor(int character) const {
if (static_cast<size_t>(character) < dense.size()) {
return static_cast<CharacterCategory>(dense[character]);