diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2013-05-09 19:00:18 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2013-05-09 19:00:18 +0000 |
commit | 8a5a9dfb5dfda5b36902fe864089c17eadb838b8 (patch) | |
tree | abfadf4e228d1c3072e02f256a227dd12b05b50d /libcxx/src | |
parent | f2f6e114fd8a048e4a83d04ab7cd454b24f6a550 (diff) | |
download | bcm5719-llvm-8a5a9dfb5dfda5b36902fe864089c17eadb838b8.tar.gz bcm5719-llvm-8a5a9dfb5dfda5b36902fe864089c17eadb838b8.zip |
Initialize codecvt explicitly with the C locale, which might not be 0.
llvm-svn: 181534
Diffstat (limited to 'libcxx/src')
-rw-r--r-- | libcxx/src/locale.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp index 8b6905fe945..7d0e62980ce 100644 --- a/libcxx/src/locale.cpp +++ b/libcxx/src/locale.cpp @@ -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) { } |