X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=idlcomp%2Flanguages%2Fc%2B%2B%2Finterface-caller.cc;h=556293a4630951e9fa3a6aebf572fa96dc7284ce;hp=0f0d139985d53d771ee143fe43fdc0f4a6a89298;hb=d8f98c588391ede8a5e4bb721ad0e718c7aef6d6;hpb=cbc65abe11c50aed3d5e7be7d1e736d5ced4f4e8 diff --git a/idlcomp/languages/c++/interface-caller.cc b/idlcomp/languages/c++/interface-caller.cc index 0f0d139..556293a 100644 --- a/idlcomp/languages/c++/interface-caller.cc +++ b/idlcomp/languages/c++/interface-caller.cc @@ -260,7 +260,7 @@ void CPPFile::output_internal(Interface *iface) 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";