From a60e25a74db6dbd2eb03a113dcf1c5c488f13599 Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Wed, 14 Nov 2018 09:09:37 +0300 Subject: [PATCH] Better diagnostics for missing PRETTY_FUNCTION macro (refs #24) --- include/boost/type_index/detail/compile_time_type_info.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/type_index/detail/compile_time_type_info.hpp b/include/boost/type_index/detail/compile_time_type_info.hpp index 7a55350..53eca33 100644 --- a/include/boost/type_index/detail/compile_time_type_info.hpp +++ b/include/boost/type_index/detail/compile_time_type_info.hpp @@ -257,7 +257,7 @@ struct ctti { || defined(__DMC__) constexpr unsigned int size = sizeof(__PRETTY_FUNCTION__); #else - boost::typeindex::detail::failed_to_get_function_name(); + boost::typeindex::detail::failed_to_get_function_name(); #endif boost::typeindex::detail::assert_compile_time_legths< @@ -287,7 +287,7 @@ struct ctti { || defined(__DMC__) return boost::typeindex::detail::skip_begining< sizeof(__PRETTY_FUNCTION__) >(__PRETTY_FUNCTION__); #else - boost::typeindex::detail::failed_to_get_function_name(); + boost::typeindex::detail::failed_to_get_function_name(); return ""; #endif }