summaryrefslogtreecommitdiff
path: root/libstdc++-v3/src/localename.cc
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-13 16:29:39 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-13 16:29:39 +0000
commit7e4f5de73c3e748796bb02557eeb2d4687e78218 (patch)
tree1b8cc420a4d8c3ba4a0c3af3ee293ad16320c07b /libstdc++-v3/src/localename.cc
parent696f957989eb27523618fc91406024b533287b3a (diff)
downloadgcc-7e4f5de73c3e748796bb02557eeb2d4687e78218.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81795 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/src/localename.cc')
-rw-r--r--libstdc++-v3/src/localename.cc8
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);