diff options
Diffstat (limited to 'gcc/hash-traits.h')
-rw-r--r-- | gcc/hash-traits.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/hash-traits.h b/gcc/hash-traits.h index 26da1f2..450354a 100644 --- a/gcc/hash-traits.h +++ b/gcc/hash-traits.h @@ -278,7 +278,7 @@ struct ggc_cache_ptr_hash : pointer_hash <T>, ggc_cache_remove <T *> {}; struct nofree_string_hash : string_hash, typed_noop_remove <const char *> {}; -template <typename T> struct default_hash_traits; +template <typename T> struct default_hash_traits : T {}; template <typename T> struct default_hash_traits <T *> : ggc_ptr_hash <T> {}; |