From 40c9bb204e285c50d9b2bbbb2eb8d4a4606d7932 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 18 Jul 2003 16:18:16 +0000 Subject: [PATCH] Me commit bad code [SVN r19195] --- include/boost/function/function_template.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/function/function_template.hpp b/include/boost/function/function_template.hpp index 9d1f2d9..dce0b00 100644 --- a/include/boost/function/function_template.hpp +++ b/include/boost/function/function_template.hpp @@ -240,9 +240,11 @@ namespace boost { > class BOOST_FUNCTION_FUNCTION : public function_base { + public: typedef typename detail::function::function_return_type::type internal_result_type; + private: struct clear_type {}; public: @@ -254,7 +256,6 @@ namespace boost { { typedef internal_result_type type; }; - friend struct sig; #if BOOST_FUNCTION_NUM_ARGS == 1 typedef T0 argument_type;