From fdf7e809753403397d61a2a20f8af56d93bcd1ec Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Wed, 3 Jul 2002 06:29:26 +0000 Subject: re PR libstdc++/6410 (Trouble with non-Ascii monetary symbols and wchar_t) 2002-07-02 Benjamin Kosnik PR libstdc++/6410 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const char* name parameter. * config/locale/gnu/monetary_members.cc: Use it. * config/locale/generic/monetary_members.cc: Same. * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it. * include/backward/strstream.h: Update date. From-SVN: r55203 --- libstdc++-v3/src/localename.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libstdc++-v3/src/localename.cc') diff --git a/libstdc++-v3/src/localename.cc b/libstdc++-v3/src/localename.cc index 824d9790cef..8fa91189170 100644 --- a/libstdc++-v3/src/localename.cc +++ b/libstdc++-v3/src/localename.cc @@ -132,8 +132,8 @@ namespace std _M_init_facet(new num_get); _M_init_facet(new num_put); _M_init_facet(new std::collate(__cloc)); - _M_init_facet(new moneypunct(__cloc)); - _M_init_facet(new moneypunct(__cloc)); + _M_init_facet(new moneypunct(__cloc, __s)); + _M_init_facet(new moneypunct(__cloc, __s)); _M_init_facet(new money_get); _M_init_facet(new money_put); _M_init_facet(new __timepunct(__cloc, __s)); @@ -148,8 +148,8 @@ namespace std _M_init_facet(new num_get); _M_init_facet(new num_put); _M_init_facet(new std::collate(__cloc)); - _M_init_facet(new moneypunct(__cloc)); - _M_init_facet(new moneypunct(__cloc)); + _M_init_facet(new moneypunct(__cloc, __s)); + _M_init_facet(new moneypunct(__cloc, __s)); _M_init_facet(new money_get); _M_init_facet(new money_put); _M_init_facet(new __timepunct(__cloc, __s)); -- cgit v1.2.1