From 7e7d6fc5fe6d47548ad03c16927d421197c088ad Mon Sep 17 00:00:00 2001 From: mat007 Date: Wed, 6 Feb 2013 07:07:59 +0000 Subject: [PATCH] Fixed type name extraction involving template classes git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@595 860be788-9bd5-4423-9f1e-828f051e677b --- turtle/detail/type_name.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/turtle/detail/type_name.hpp b/turtle/detail/type_name.hpp index 169aa1e..c43b6d9 100644 --- a/turtle/detail/type_name.hpp +++ b/turtle/detail/type_name.hpp @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -79,6 +80,7 @@ namespace detail } std::string clean( std::string name ) const { + boost::algorithm::trim( name ); boost::algorithm::erase_all( name, "class " ); boost::algorithm::erase_all( name, "struct " ); boost::algorithm::erase_all( name, "__ptr64" );