diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-02 19:12:01 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-02 19:12:01 +0000 |
commit | 3a85e71031bc26d67d66db985da2159415f84fdb (patch) | |
tree | 1c7fbe946684325bcd8980e713e0268844032bae /libs/pbd/pbd/memento_command.h | |
parent | 17088ee3ea5af1e6174b098bb5bcfdaec6ebf9b0 (diff) |
(1) stop using mangled names in history state, use demangled ones instead (2) fix region split so that the generated regions have the right start points in the source(s)
git-svn-id: svn://localhost/ardour2/branches/3.0@6721 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/memento_command.h')
-rw-r--r-- | libs/pbd/pbd/memento_command.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/pbd/pbd/memento_command.h b/libs/pbd/pbd/memento_command.h index 8c3d1a1870..5a385841a6 100644 --- a/libs/pbd/pbd/memento_command.h +++ b/libs/pbd/pbd/memento_command.h @@ -26,6 +26,7 @@ #include "pbd/command.h" #include "pbd/stacktrace.h" #include "pbd/xml++.h" +#include "pbd/demangle.h" #include <sigc++/slot.h> #include <typeinfo> @@ -80,7 +81,7 @@ public: XMLNode* node = new XMLNode(name); node->add_property("obj_id", obj.id().to_s()); - node->add_property("type_name", typeid(obj).name()); + node->add_property("type_name", demangled_name (obj)); if (before) { node->add_child_copy(*before); |