Skip to content

Commit c3a311a

Browse files
committed
Explicit qualifications help MSVC6
[SVN r12380]
1 parent 7926e1b commit c3a311a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

include/boost/python/make_function.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
#ifndef MAKE_FUNCTION_DWA20011221_HPP
77
# define MAKE_FUNCTION_DWA20011221_HPP
88

9-
# include <boost/mpl/size.hpp>
10-
# include <boost/function.hpp>
11-
# include <boost/bind.hpp>
129
# include <boost/python/object/function.hpp>
1310
# include <boost/python/object/make_holder.hpp>
1411
# include <boost/python/detail/caller.hpp>
1512
# include <boost/python/detail/arg_tuple_size.hpp>
13+
# include <boost/mpl/size.hpp>
14+
# include <boost/function.hpp>
15+
# include <boost/bind.hpp>
1616

1717
namespace boost { namespace python {
1818

@@ -21,7 +21,7 @@ objects::function* make_function(F f)
2121
{
2222
return new objects::function(
2323
objects::py_function(
24-
bind<PyObject*>(detail::caller(), f, _1, _2))
24+
::boost::bind<PyObject*>(detail::caller(), f, _1, _2))
2525
, detail::arg_tuple_size<F>::value);
2626
}
2727

@@ -31,7 +31,7 @@ objects::function* make_constructor(T* = 0, ArgList* = 0, Generator* = 0)
3131
enum { nargs = mpl::size<ArgList>::value };
3232
return new objects::function(
3333
objects::py_function(
34-
bind<PyObject*>(detail::caller(),
34+
::boost::bind<PyObject*>(detail::caller(),
3535
objects::make_holder<nargs>
3636
::template apply<T,Generator,ArgList>::execute
3737
, _1, _2))

0 commit comments

Comments
 (0)