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 | e55ed4dd7a0caf0b4a6fdb4e6e2b30e159e772d2 (patch) | |
tree | 0e16ee5421bb805ee7f330442c761d1332db8fee /src/CaseFolder.cxx | |
parent | cb1710ea96ba303fcf62be5911c54137238906ce (diff) | |
download | scintilla-mirror-e55ed4dd7a0caf0b4a6fdb4e6e2b30e159e772d2.tar.gz |
Use noexcept where reasonable.
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'); |