diff options
author | Simon Marshall <simon.marshall@misys.com> | 2004-05-13 16:29:39 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2004-05-13 16:29:39 +0000 |
commit | 95b147fe4a53a754317dd6f7b46a985e1bba7cc5 (patch) | |
tree | 1b8cc420a4d8c3ba4a0c3af3ee293ad16320c07b /libstdc++-v3/src/localename.cc | |
parent | d7f30833549aa0378f41f8cdb132cff5826847fe (diff) | |
download | gcc-95b147fe4a53a754317dd6f7b46a985e1bba7cc5.tar.gz |
re PR libstdc++/15090 (-fno-for-scope vs. libstdc++)
2004-05-13 Simon Marshall <simon.marshall@misys.com>
Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15090
* include/bits/locale_facets.h: Fix for -fno-for-scope.
* include/debug/safe_sequence.h: Same.
* include/debug/safe_iterator.tcc: Same.
* src/debug.cc: Same.
* src/locale.cc: Same.
* src/locale_init.cc: Same.
* src/localename.cc: Same.
* config/locale/gnu/ctype_members.cc: Same.
* config/locale/gnu/numeric_members.cc: Same.
* testsuite/testsuite_abi.cc: Same.
* testsuite/testsuite_hooks.cc: Same.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r81795
Diffstat (limited to 'libstdc++-v3/src/localename.cc')
-rw-r--r-- | libstdc++-v3/src/localename.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/src/localename.cc b/libstdc++-v3/src/localename.cc index ca09b065156..1600b2cc55b 100644 --- a/libstdc++-v3/src/localename.cc +++ b/libstdc++-v3/src/localename.cc @@ -193,11 +193,11 @@ namespace std for (size_t __i = 0; __i < _M_facets_size; ++__i) _M_facets[__i] = 0; _M_caches = new const facet*[_M_facets_size]; - for (size_t __i = 0; __i < _M_facets_size; ++__i) - _M_caches[__i] = 0; + for (size_t __j = 0; __j < _M_facets_size; ++__j) + _M_caches[__j] = 0; _M_names = new char*[_S_categories_size]; - for (size_t __i = 0; __i < _S_categories_size; ++__i) - _M_names[__i] = 0; + for (size_t __k = 0; __k < _S_categories_size; ++__k) + _M_names[__k] = 0; // Name the categories. const size_t __len = std::strlen(__s); |