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; } }