X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Frtti.cc;h=39941f8f74e296b92f84092360dad3b7dd1bcef2;hb=14c7123e678938b7cc858c9f087788fd6516c1a2;hp=c24cc27ec92280e38041f052f44e11fe0d678ee4;hpb=5360299c83e55dfd2e8e43ff5b999afd67544877;p=lilypond.git diff --git a/flower/rtti.cc b/flower/rtti.cc index c24cc27ec9..39941f8f74 100644 --- a/flower/rtti.cc +++ b/flower/rtti.cc @@ -1,10 +1,12 @@ -#include -#include "virtual-methods.hh" +#include +using namespace std; +#include "virtual-methods.hh" -const char * -demangle_classname (char const *s) +char const * +demangle_classname (type_info const &t) { + char const *s = t.name (); while (isdigit (*s)) s++; return s;