aboutsummaryrefslogtreecommitdiff
path: root/gcc/hash-set.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/hash-set.h')
-rw-r--r--gcc/hash-set.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/hash-set.h b/gcc/hash-set.h
index e85af2a..679d2b6 100644
--- a/gcc/hash-set.h
+++ b/gcc/hash-set.h
@@ -21,10 +21,11 @@ along with GCC; see the file COPYING3. If not see
#ifndef hash_set_h
#define hash_set_h
-template<typename Key, typename Traits = default_hash_traits<Key> >
+template<typename KeyId, typename Traits = default_hash_traits<KeyId> >
class hash_set
{
public:
+ typedef typename Traits::value_type Key;
explicit hash_set (size_t n = 13, bool ggc = false CXX_MEM_STAT_INFO)
: m_table (n, ggc, true, HASH_SET_ORIGIN PASS_MEM_STAT) {}