summaryrefslogtreecommitdiff
path: root/libs/pbd/demangle.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2015-10-29 22:41:38 +1000
committerTim Mayberry <mojofunk@gmail.com>2015-12-01 14:22:38 +1000
commite0254155162f202e259cd8c3d189fa4f8e1f8b75 (patch)
treebcc01daa6aa8e43817571f1fff61f2d21d0dc0de /libs/pbd/demangle.cc
parent36fa6703095ec8d562a5ab87269486d82294b4ef (diff)
Use PBD::demangle_symbol in PBD::demangled_name<T> to reduce code duplication
Diffstat (limited to 'libs/pbd/demangle.cc')
-rw-r--r--libs/pbd/demangle.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/pbd/demangle.cc b/libs/pbd/demangle.cc
index cd084ec3c9..97d4e11926 100644
--- a/libs/pbd/demangle.cc
+++ b/libs/pbd/demangle.cc
@@ -40,6 +40,11 @@ PBD::demangle_symbol (const std::string& mangled_symbol)
}
#endif
+ /* Note: on win32, you can use UnDecorateSymbolName.
+ See http://msdn.microsoft.com/en-us/library/ms681400%28VS.85%29.aspx
+ See also: http://msdn.microsoft.com/en-us/library/ms680344%28VS.85%29.aspx
+ */
+
return mangled_symbol;
}