Open
Bug 1423860
Opened 8 years ago
Updated 3 years ago
Questinable dead code using std::wstring and wchar_t
Categories
(Core :: WebVR, enhancement)
Core
WebVR
Tracking
()
NEW
People
(Reporter: hsivonen, Unassigned)
Details
OpenVR code contains string handling functions that mostly seem to assume that std::wstring and wchar_t are UTF-16, which is true on Windows but not true elsewhere.
https://searchfox.org/mozilla-central/source/gfx/vr/openvr/src/strtools_public.h
Fortunately, it seems that nothing calls these functions. Since std::wstring and wchar_t are not portable, it would be prudent to remove these functions before anyone adds code that calls them.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•