summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2015-10-29 22:43:19 +1000
committerTim Mayberry <mojofunk@gmail.com>2015-12-01 14:22:38 +1000
commit7f3118c8fe651c722b48ed3d9f47f998507237be (patch)
tree79805e1a66fb7a32ed33a2a5e7efa75eccb8a20b /libs/pbd
parente0254155162f202e259cd8c3d189fa4f8e1f8b75 (diff)
Don't indent inside namespace declaration to be consistent with ardour style
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/pbd/demangle.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/libs/pbd/pbd/demangle.h b/libs/pbd/pbd/demangle.h
index 71eca16583..9e28abe600 100644
--- a/libs/pbd/pbd/demangle.h
+++ b/libs/pbd/pbd/demangle.h
@@ -29,24 +29,24 @@
namespace PBD
{
- /**
- * @param symbol a mangled symbol/name
- * @return a demangled symbol/name
- */
- LIBPBD_API std::string demangle_symbol(const std::string& symbol);
-
- /**
- * @param str a string containing a mangled symbol/name
- * @return a string with the mangled symbol/name replaced with a demangled
- * name
- */
- LIBPBD_API std::string demangle(const std::string& str);
-
- template<typename T>
- std::string demangled_name (T const & obj)
- {
- return demangle_symbol(typeid(obj).name());
- }
+/**
+ * @param symbol a mangled symbol/name
+ * @return a demangled symbol/name
+ */
+LIBPBD_API std::string demangle_symbol(const std::string& symbol);
+
+/**
+ * @param str a string containing a mangled symbol/name
+ * @return a string with the mangled symbol/name replaced with a demangled
+ * name
+ */
+LIBPBD_API std::string demangle(const std::string& str);
+
+template <typename T>
+std::string demangled_name(T const& obj)
+{
+ return demangle_symbol(typeid(obj).name());
+}
} // namespace