From fc101598ba56856bf940b81c4f226a842c06517a Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Thu, 4 Sep 2008 19:36:34 +0000 Subject: [PATCH] minor boost/exception/detail/type_info.hpp fix. [SVN r48579] --- include/boost/exception/detail/type_info.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/exception/detail/type_info.hpp b/include/boost/exception/detail/type_info.hpp index 8aaee8d..e752d42 100644 --- a/include/boost/exception/detail/type_info.hpp +++ b/include/boost/exception/detail/type_info.hpp @@ -17,7 +17,11 @@ boost char const * type_name() { +#ifdef BOOST_NO_TYPEID return BOOST_CURRENT_FUNCTION; +#else + return typeid(T).name(); +#endif } namespace