From a18c7018667e4f57b1005931db20428d82a11f36 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Fri, 16 Oct 2009 15:49:46 +0000 Subject: [PATCH] Fix type-shifting of bind_first for free function pointer types --- include/chaiscript/dispatchkit/bind_first.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/chaiscript/dispatchkit/bind_first.hpp b/include/chaiscript/dispatchkit/bind_first.hpp index 9e42653..934783b 100644 --- a/include/chaiscript/dispatchkit/bind_first.hpp +++ b/include/chaiscript/dispatchkit/bind_first.hpp @@ -46,7 +46,7 @@ namespace chaiscript } template - boost::function + boost::function bind_first(Ret (*f)(BOOST_PP_ENUM_PARAMS(m, Param)), const O &o) { return boost::bind(f, o BOOST_PP_COMMA_IF(n) BOOST_PP_ENUM(n, param, _));