aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CaseFolder.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-03-03 15:35:54 +1100
committerNeil <nyamatongwe@gmail.com>2019-03-03 15:35:54 +1100
commite55ed4dd7a0caf0b4a6fdb4e6e2b30e159e772d2 (patch)
tree0e16ee5421bb805ee7f330442c761d1332db8fee /src/CaseFolder.cxx
parentcb1710ea96ba303fcf62be5911c54137238906ce (diff)
downloadscintilla-mirror-e55ed4dd7a0caf0b4a6fdb4e6e2b30e159e772d2.tar.gz
Use noexcept where reasonable.
Diffstat (limited to 'src/CaseFolder.cxx')
-rw-r--r--src/CaseFolder.cxx2
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');