diff options
author | Neil <nyamatongwe@gmail.com> | 2019-11-01 13:00:12 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-11-01 13:00:12 +1100 |
commit | 0777bb261f970bfb6c7cde06544630df37024322 (patch) | |
tree | 3228eb3b1363f359c498474d21aa3448227cfbb1 /src/PositionCache.cxx | |
parent | a975005246dc972de1e61d866fd4dfe617c89ab2 (diff) | |
download | scintilla-mirror-0777bb261f970bfb6c7cde06544630df37024322.tar.gz |
Remove noexcept from allocating constructors as may throw on memory exhaustion.
Diffstat (limited to 'src/PositionCache.cxx')
-rw-r--r-- | src/PositionCache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx index ea281f7ab..8cdbb4f3d 100644 --- a/src/PositionCache.cxx +++ b/src/PositionCache.cxx @@ -489,7 +489,7 @@ static unsigned int KeyFromString(const char *charBytes, size_t len) { return k; } -SpecialRepresentations::SpecialRepresentations() noexcept { +SpecialRepresentations::SpecialRepresentations() { const short none = 0; std::fill(startByteHasReprs, std::end(startByteHasReprs), none); } |