aboutsummaryrefslogtreecommitdiff
path: root/gcc/hash-map.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/hash-map.h')
-rw-r--r--gcc/hash-map.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/hash-map.h b/gcc/hash-map.h
index 2f1bca4..cd97d35 100644
--- a/gcc/hash-map.h
+++ b/gcc/hash-map.h
@@ -21,10 +21,11 @@ along with GCC; see the file COPYING3. If not see
#ifndef hash_map_h
#define hash_map_h
-template<typename Key, typename Value,
+template<typename KeyId, typename Value,
typename Traits>
class GTY((user)) hash_map
{
+ typedef typename Traits::key_type Key;
struct hash_entry
{
Key m_key;