forked from OSchip/llvm-project
Initialize codecvt explicitly with the C locale, which might not be 0.
llvm-svn: 181534
This commit is contained in:
parent
f2f6e114fd
commit
8a5a9dfb5d
|
@ -1376,7 +1376,7 @@ locale::id codecvt<wchar_t, char, mbstate_t>::id;
|
|||
|
||||
codecvt<wchar_t, char, mbstate_t>::codecvt(size_t refs)
|
||||
: locale::facet(refs),
|
||||
__l(0)
|
||||
__l(_LIBCPP_GET_C_LOCALE)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue