From d7c204356f5ad7f450010f49d956d7baf0c689ee Mon Sep 17 00:00:00 2001 From: Tobias Schwinger Date: Sun, 11 Nov 2007 17:56:21 +0000 Subject: [PATCH] removes superfluous remove_reference in result computation, as reported by Eric Niebler [SVN r41008] --- .../fusion/functional/invocation/invoke_function_object.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/boost/fusion/functional/invocation/invoke_function_object.hpp b/include/boost/fusion/functional/invocation/invoke_function_object.hpp index ad742265..f0f6e4eb 100644 --- a/include/boost/fusion/functional/invocation/invoke_function_object.hpp +++ b/include/boost/fusion/functional/invocation/invoke_function_object.hpp @@ -114,8 +114,7 @@ namespace boost { namespace fusion typedef typename boost::result_of< #define M(z,j,data) \ - typename boost::remove_reference< \ - typename result_of::at_c::type >::type + typename result_of::at_c::type Function (BOOST_PP_ENUM(N,M,~)) >::type result_type; #undef M