From c29241d8598ddf64b70bf30fcf00e29aae4c48c6 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Sun, 9 Mar 2003 17:26:06 +0000 Subject: [PATCH] non-template function make_function1 must be inline [SVN r17791] --- include/boost/python/def.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/boost/python/def.hpp b/include/boost/python/def.hpp index 1c77736d..d0db5528 100644 --- a/include/boost/python/def.hpp +++ b/include/boost/python/def.hpp @@ -80,6 +80,7 @@ namespace detail template object make_function1(T fn, ...) { return make_function(fn); } + inline object make_function1(object const& x, object const*) { return x; } }