diff options
| author | Neil <nyamatongwe@gmail.com> | 2020-03-13 09:03:15 +1100 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2020-03-13 09:03:15 +1100 | 
| commit | 3d4fafdd662a2ac7267afdaef44bad54302ebe50 (patch) | |
| tree | 29831fd53d1d0fdb6dff8e0a6bc9d47dc4b75d27 /src/CaseConvert.h | |
| parent | 62e9baae3f94f4bdc1c1741f056ccbd7e48421e6 (diff) | |
| download | scintilla-mirror-3d4fafdd662a2ac7267afdaef44bad54302ebe50.tar.gz | |
Backport: Using constexpr in UniConversion and CaseConvert.
Backport of changeset 8004:7052c60ce1b2.
Diffstat (limited to 'src/CaseConvert.h')
| -rw-r--r-- | src/CaseConvert.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/CaseConvert.h b/src/CaseConvert.h index cdd089710..e3057c841 100644 --- a/src/CaseConvert.h +++ b/src/CaseConvert.h @@ -31,7 +31,7 @@ const char *CaseConvert(int character, enum CaseConversion conversion);  // When performing CaseConvertString, the converted value may be up to 3 times longer than the input.  // Ligatures are often decomposed into multiple characters and long cases include:  // ΐ "\xce\x90" folds to ΐ "\xce\xb9\xcc\x88\xcc\x81" -const int maxExpansionCaseConversion=3; +constexpr size_t maxExpansionCaseConversion = 3;  // Converts a mixed case string using a particular conversion.  // Result may be a different length to input and the length is the return value. | 
