diff options
author | Neil <nyamatongwe@gmail.com> | 2019-03-03 15:35:54 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-03-03 15:35:54 +1100 |
commit | 590b1615aaaa20916de1b5f25fc1050395f7312f (patch) | |
tree | cf3c7425ae7814cd71fe54f8f94550867375bb94 /src/CaseFolder.cxx | |
parent | 954d09cd99be5655bcc9bac8e80ca76994779db8 (diff) | |
download | scintilla-mirror-590b1615aaaa20916de1b5f25fc1050395f7312f.tar.gz |
Backport: Use noexcept where reasonable.
Backport of changeset 7287:0272b3c3a03b.
Diffstat (limited to 'src/CaseFolder.cxx')
-rw-r--r-- | src/CaseFolder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CaseFolder.cxx b/src/CaseFolder.cxx index 0fd29c7bb..7db4bb679 100644 --- a/src/CaseFolder.cxx +++ b/src/CaseFolder.cxx @@ -41,7 +41,7 @@ void CaseFolderTable::SetTranslation(char ch, char chTranslation) { mapping[static_cast<unsigned char>(ch)] = chTranslation; } -void CaseFolderTable::StandardASCII() { +void CaseFolderTable::StandardASCII() noexcept { for (size_t iChar=0; iChar<sizeof(mapping); iChar++) { if (iChar >= 'A' && iChar <= 'Z') { mapping[iChar] = static_cast<char>(iChar - 'A' + 'a'); |