summaryrefslogtreecommitdiff
path: root/zen/zstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zen/zstring.cpp')
-rwxr-xr-xzen/zstring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/zstring.cpp b/zen/zstring.cpp
index afa62c93..1fe31eaf 100755
--- a/zen/zstring.cpp
+++ b/zen/zstring.cpp
@@ -54,8 +54,8 @@ int compareNoCaseUtf8(const char* lhs, size_t lhsLen, const char* rhs, size_t rh
if (!cpL || !cpR)
return static_cast<int>(!cpR) - static_cast<int>(!cpL);
-//support unit-testing on Windows: CodePoint is truncated to wchar_t
-static_assert(sizeof(wchar_t) == sizeof(impl::CodePoint), "");
+ //support unit-testing on Windows: CodePoint is truncated to wchar_t
+ static_assert(sizeof(wchar_t) == sizeof(impl::CodePoint));
const wchar_t charL = ::towlower(static_cast<wchar_t>(*cpL)); //ordering: towlower() converts to higher code points than towupper()
const wchar_t charR = ::towlower(static_cast<wchar_t>(*cpR)); //uses LC_CTYPE category of current locale
bgstack15