summaryrefslogtreecommitdiff
path: root/gcc/vtable-verify.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/vtable-verify.h')
-rw-r--r--gcc/vtable-verify.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/vtable-verify.h b/gcc/vtable-verify.h
index b0169ade1eb..6fb2b6049a5 100644
--- a/gcc/vtable-verify.h
+++ b/gcc/vtable-verify.h
@@ -58,10 +58,11 @@ struct vtable_registration
struct registration_hasher : typed_noop_remove <struct vtable_registration>
{
- typedef struct vtable_registration value_type;
- typedef struct vtable_registration compare_type;
- static inline hashval_t hash (const value_type *);
- static inline bool equal (const value_type *, const compare_type *);
+ typedef struct vtable_registration *value_type;
+ typedef struct vtable_registration *compare_type;
+ static inline hashval_t hash (const vtable_registration *);
+ static inline bool equal (const vtable_registration *,
+ const vtable_registration *);
};
typedef hash_table<registration_hasher> register_table_type;