diff options
author | Paolo Carlini <pcarlini@suse.de> | 2003-11-26 11:47:01 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2003-11-26 11:47:01 +0000 |
commit | 7fb1d711938b8cc070400f61979afe1905cbedd9 (patch) | |
tree | 7ea3eda81de11daceb21999e2fb4aed0d88f0113 | |
parent | a7c084ac63c6578610e90b0a89659f7101542646 (diff) | |
download | gcc-7fb1d711938b8cc070400f61979afe1905cbedd9.zip gcc-7fb1d711938b8cc070400f61979afe1905cbedd9.tar.gz gcc-7fb1d711938b8cc070400f61979afe1905cbedd9.tar.bz2 |
2003-11-26 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.h
(__numpunct_cache<>::_M_cache): Avoid zeroing _M_grouping,
_M_truename and _M_falsename: the constructor always does
it immediately before the _M_cache call.
From-SVN: r73948
-rw-r--r-- | libstdc++-v3/ChangeLog | 7 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/locale_facets.h | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 72fd837..9e502e7 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2003-11-26 Paolo Carlini <pcarlini@suse.de> + + * include/bits/locale_facets.h + (__numpunct_cache<>::_M_cache): Avoid zeroing _M_grouping, + _M_truename and _M_falsename: the constructor always does + it immediately before the _M_cache call. + 2003-11-25 Paolo Carlini <pcarlini@suse.de> * config/locale/gnu/codecvt_members.cc (codecvt::do_length): diff --git a/libstdc++-v3/include/bits/locale_facets.h b/libstdc++-v3/include/bits/locale_facets.h index e6ad5eb..a29538a 100644 --- a/libstdc++-v3/include/bits/locale_facets.h +++ b/libstdc++-v3/include/bits/locale_facets.h @@ -648,8 +648,6 @@ namespace std __numpunct_cache<_CharT>::_M_cache(const locale& __loc) { _M_allocated = true; - _M_grouping = NULL; - _M_truename = _M_falsename = NULL; const numpunct<_CharT>& __np = use_facet<numpunct<_CharT> >(__loc); |