aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/ext/hashtable.h
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2006-11-21 18:10:45 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2006-11-21 18:10:45 +0000
commit1ab7948178b41d47c37cf96890d17e961fc6876d (patch)
tree1bd095d1f392dffccea7ff12e58fbb48ac9c17e5 /libstdc++-v3/include/ext/hashtable.h
parent7ddd83802bc3821c810364c7f41dbf3c50ffe3ff (diff)
downloadgcc-1ab7948178b41d47c37cf96890d17e961fc6876d.zip
gcc-1ab7948178b41d47c37cf96890d17e961fc6876d.tar.gz
gcc-1ab7948178b41d47c37cf96890d17e961fc6876d.tar.bz2
hashtable.h: -Wshadow fixes.
2006-11-21 Benjamin Kosnik <bkoz@redhat.com> * include/ext/hashtable.h: -Wshadow fixes. * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same. * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same. * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Same. * include/ext/pb_ds/detail/gp_hash_table_map_/ constructor_destructor_fn_imps.hpp: Same. * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same. * include/ext/pb_ds/detail/ov_tree_map_/ constructors_destructor_fn_imps.hpp: Same. * src/mt_allocator.cc: Same. * src/debug.cc: Same. * config/locale/gnu/codecvt_members.cc: Same. From-SVN: r119061
Diffstat (limited to 'libstdc++-v3/include/ext/hashtable.h')
-rw-r--r--libstdc++-v3/include/ext/hashtable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/ext/hashtable.h b/libstdc++-v3/include/ext/hashtable.h
index 9c274bf..233806f 100644
--- a/libstdc++-v3/include/ext/hashtable.h
+++ b/libstdc++-v3/include/ext/hashtable.h
@@ -713,7 +713,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
__cur1 = __cur1->_M_next)
{
bool _found__cur1 = false;
- for (_Node* __cur2 = __ht2._M_buckets[__n];
+ for (__cur2 = __ht2._M_buckets[__n];
__cur2; __cur2 = __cur2->_M_next)
{
if (__cur1->_M_val == __cur2->_M_val)