diff options
Diffstat (limited to 'libstdc++-v3/src/c++11/cow-locale_init.cc')
-rw-r--r-- | libstdc++-v3/src/c++11/cow-locale_init.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/src/c++11/cow-locale_init.cc b/libstdc++-v3/src/c++11/cow-locale_init.cc index 98a2ef4..bf27071 100644 --- a/libstdc++-v3/src/c++11/cow-locale_init.cc +++ b/libstdc++-v3/src/c++11/cow-locale_init.cc @@ -125,6 +125,7 @@ namespace _M_init_facet_unchecked(new (&messages_w) std::messages<wchar_t>(1)); #endif + // The caches must be populated last, after creating all facets. _M_caches[numpunct<char>::id._M_id()] = __npc; _M_caches[moneypunct<char, false>::id._M_id()] = __mpcf; _M_caches[moneypunct<char, true>::id._M_id()] = __mpct; |