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 | 55d1068389ac95f94ffe6ac0a5ca87820af9b363 (patch) | |
| tree | 5b3439afbcd10365da2abd6ac578a98e50d06c68 /src/PositionCache.cxx | |
| parent | 16b9ac336b766f1fd394d77d40611a4875162930 (diff) | |
| download | scintilla-mirror-55d1068389ac95f94ffe6ac0a5ca87820af9b363.tar.gz | |
Backport: Remove noexcept from allocating constructors as may throw on memory exhaustion.
Backport of changeset 7750:12807611677a.
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 8910a2955..a1f71fdae 100644 --- a/src/PositionCache.cxx +++ b/src/PositionCache.cxx @@ -381,7 +381,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);  }  | 
