void CPPFile::output_downcast_proto(Interface *iface, Interface *super)
{
- file << '\n' << indent << "static __attribute__((weak)) inline "
+ file << '\n' << indent << "static inline "
<< **iface->name << " downcast(";
cpp_output_type(file, super, false, false);
file << "oldptr);\n";