aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/httpsys.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenhttp/httpsys.cpp')
-rw-r--r--zenhttp/httpsys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenhttp/httpsys.cpp b/zenhttp/httpsys.cpp
index 26bba5484..747e48bb3 100644
--- a/zenhttp/httpsys.cpp
+++ b/zenhttp/httpsys.cpp
@@ -42,7 +42,7 @@ UTF8_to_wstring(const char* in)
if (((*in & 0xc0) != 0x80) && (codepoint <= 0x10ffff))
{
- if (sizeof(wchar_t) > 2)
+ if constexpr (sizeof(wchar_t) > 2)
{
out.append(1, static_cast<wchar_t>(codepoint));
}