After the previous bcache change, a couple of casts in objfiles.h are
now redundant.
const char *intern (const char *str)
{
- return (const char *) string_cache.insert (str, strlen (str) + 1);
+ return string_cache.insert (str, strlen (str) + 1);
}
/* Same as the above, but for an std::string. */
const char *intern (const std::string &str)
{
- return (const char *) string_cache.insert (str.c_str (), str.size () + 1);
+ return string_cache.insert (str.c_str (), str.size () + 1);
}
/* Get the BFD this object is associated to. */