I had two overloads of a function, but only one was needed. Let's keep
the constant one.
gcc/cp/
* module.cc (identifier): Merge overloads.
{
return CPP_HASHNODE (GCC_IDENT_TO_HT_IDENT (id));
}
-static inline tree identifier (cpp_hashnode *node)
-{
- return HT_IDENT_TO_GCC_IDENT (HT_NODE (node));
-}
-static inline const_tree identifier (const cpp_hashnode *node)
+
+static inline tree identifier (const cpp_hashnode *node)
{
- return identifier (const_cast <cpp_hashnode *> (node));
+ return HT_IDENT_TO_GCC_IDENT (HT_NODE (const_cast<cpp_hashnode *> (node)));
}
/* During duplicate detection we need to tell some comparators that