diff --git a/include/boost/python/make_function.hpp b/include/boost/python/make_function.hpp index fddc640b..f9ffd5c3 100644 --- a/include/boost/python/make_function.hpp +++ b/include/boost/python/make_function.hpp @@ -6,13 +6,13 @@ #ifndef MAKE_FUNCTION_DWA20011221_HPP # define MAKE_FUNCTION_DWA20011221_HPP -# include -# include -# include # include # include # include # include +# include +# include +# include namespace boost { namespace python { @@ -21,7 +21,7 @@ objects::function* make_function(F f) { return new objects::function( objects::py_function( - bind(detail::caller(), f, _1, _2)) + ::boost::bind(detail::caller(), f, _1, _2)) , detail::arg_tuple_size::value); } @@ -31,7 +31,7 @@ objects::function* make_constructor(T* = 0, ArgList* = 0, Generator* = 0) enum { nargs = mpl::size::value }; return new objects::function( objects::py_function( - bind(detail::caller(), + ::boost::bind(detail::caller(), objects::make_holder ::template apply::execute , _1, _2))