From 4f5147f96e2d87c9f969e3c647cc3ba2da51c6aa Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 24 Jul 2002 13:27:49 +0000 Subject: [PATCH] function.hpp: - When determining if a type is a function type, don't blindly add a pointer but instead use add_pointer [SVN r14586] --- include/boost/function.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/function.hpp b/include/boost/function.hpp index 608ef99..2cf9f0f 100644 --- a/include/boost/function.hpp +++ b/include/boost/function.hpp @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -548,7 +549,7 @@ namespace boost { class get_function_impl { #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION - typedef function_traits traits; + typedef function_traits::type> traits; public: typedef typename ct_if<(is_function::value),