diff options
Diffstat (limited to 'zen/zstring.cpp')
-rw-r--r-- | zen/zstring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/zstring.cpp b/zen/zstring.cpp index 019973e9..d011eda0 100644 --- a/zen/zstring.cpp +++ b/zen/zstring.cpp @@ -104,7 +104,7 @@ Zstring getUpperCaseNonAscii(const Zstring& str) UtfDecoder<char> decoder(strNorm.c_str(), strNorm.size()); while (const std::optional<impl::CodePoint> cp = decoder.getNext()) - codePointToUtf<char>(::g_unichar_toupper(*cp), [&](char c) { output += c; }); //don't use std::towupper: *incomplete* and locale-dependent! + codePointToUtf<char>(::g_unichar_toupper(*cp), [&](const char c) { output += c; }); //don't use std::towupper: *incomplete* and locale-dependent! static_assert(sizeof(impl::CodePoint) == sizeof(gunichar)); return output; |