]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/rtti.cc
Imported Upstream version 2.12.3
[lilypond.git] / flower / rtti.cc
index c24cc27ec92280e38041f052f44e11fe0d678ee4..39941f8f74e296b92f84092360dad3b7dd1bcef2 100644 (file)
@@ -1,10 +1,12 @@
-#include <ctype.h>
-#include "virtual-methods.hh"
+#include <cctype>
+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;