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" );