(update to the new pikotools api): use a char32_t character as a main character when converting strings

Use a char32_t instead of a wchar_t type. This is needed on systems
where sizeof(wchar_t) is equal to 2.

This affects classes based on the pt::Stream such as Log and HtmlTextStream.
This commit is contained in:
tomasz.sowa committed 2024-06-01 00:33:15 +02:00
1 parent af0d34beb9
commit 5d457f3d4b
4 files changed
+56 -30

No files matched your search

+7
View File
@@ -197,6 +197,13 @@ Log & Log::operator<<(wchar_t s)
}
Log & Log::operator<<(char32_t s)
{
pt::Log::operator<<(s);
return *this;
}
Log & Log::operator<<(unsigned short s)
{
pt::Log::operator<<(s);