Initialize codecvt explicitly with the C locale, which might not be 0.

llvm-svn: 181534
This commit is contained in:
Joerg Sonnenberger 2013-05-09 19:00:18 +00:00
parent f2f6e114fd
commit 8a5a9dfb5d
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{
}