diff options
| author | Neil <nyamatongwe@gmail.com> | 2020-03-24 23:04:11 +1100 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2020-03-24 23:04:11 +1100 | 
| commit | 98bb3dc9449a52d530879018c42f4e5965b2c25c (patch) | |
| tree | 4aa37d79e8aa40051d1c6c221936f0354e06f059 /src/CaseFolder.cxx | |
| parent | e0a93ade98c1e193cde2592263b538ce1fd89bcb (diff) | |
| download | scintilla-mirror-98bb3dc9449a52d530879018c42f4e5965b2c25c.tar.gz | |
Backport: Use noexcept where possible.
Backport of changeset 8023:7e614e47074d.
Diffstat (limited to 'src/CaseFolder.cxx')
| -rw-r--r-- | src/CaseFolder.cxx | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/CaseFolder.cxx b/src/CaseFolder.cxx index 7db4bb679..bce593a98 100644 --- a/src/CaseFolder.cxx +++ b/src/CaseFolder.cxx @@ -17,7 +17,7 @@ using namespace Scintilla;  CaseFolder::~CaseFolder() {  } -CaseFolderTable::CaseFolderTable() : mapping{}  { +CaseFolderTable::CaseFolderTable() noexcept : mapping{}  {  	for (size_t iChar=0; iChar<sizeof(mapping); iChar++) {  		mapping[iChar] = static_cast<char>(iChar);  	} @@ -37,7 +37,7 @@ size_t CaseFolderTable::Fold(char *folded, size_t sizeFolded, const char *mixed,  	}  } -void CaseFolderTable::SetTranslation(char ch, char chTranslation) { +void CaseFolderTable::SetTranslation(char ch, char chTranslation) noexcept {  	mapping[static_cast<unsigned char>(ch)] = chTranslation;  } | 
