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

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@181534 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Joerg Sonnenberger 2013-05-09 19:00:18 +00:00
parent a7f5c1bcd8
commit 5328cd307c

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