Bug in type_info.hpp

[SVN r48634]
This commit is contained in:
Emil Dotchevski
2008-09-06 18:40:02 +00:00
parent 29fc99b378
commit 76380aa2f6
3 changed files with 5 additions and 6 deletions

View File

@ -8,6 +8,9 @@
#include <boost/detail/sp_typeinfo.hpp>
#include <boost/current_function.hpp>
#ifndef BOOST_NO_TYPEID
#include <boost/type.hpp>
#endif
namespace
boost
@ -20,7 +23,7 @@ boost
#ifdef BOOST_NO_TYPEID
return BOOST_CURRENT_FUNCTION;
#else
return typeid(T).name();
return typeid(type<T>).name();
#endif
}