mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 06:09:19 +00:00
![whale](/assets/img/avatar_default.png)
`char16_t` and `wchar_t` are functionally the same on Windows. But logging statements do not handle `char16_t` very well, resulting in the need to static cast to `wchar_t`. For more info, see [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1768758 | bug task ]]: This diff introduces a Windows-specific function for getting strings as `wchar_t` and replaces previous workaround usages. Differential Revision: https://phabricator.services.mozilla.com/D215869