diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2018-12-11 20:48:20 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2018-12-11 20:48:20 -0500 |
commit | 4e894eb2a7ed6651c54890cd20106bfacd61ef0a (patch) | |
tree | a1464528bfb90c5b35c5545e135217d947be21e2 /indra/llcommon/llqueuedthread.cpp | |
parent | bb4a649b9c324e7989de6e59398c85e80fe2acc7 (diff) |
SL-10153: Improve ll_convert_string_to_wide() and its converse.
Instead of returning a wchar_t* and requiring the caller to delete it later,
return a std::basic_string<wchar_t> that's self-cleaning. If the caller wants
a wchar_t*, s/he can call c_str() on the returned string.
Default the code_page parameter to CP_UTF8, since we try to be really
consistent about using UTF-8 encoding for all our internal std::strings.
Diffstat (limited to 'indra/llcommon/llqueuedthread.cpp')
0 files changed, 0 insertions, 0 deletions