Skip to content

Commit 7b19604

Browse files
authored
Merge pull request #470 from boostorg/pr/fix-iterator-detail
Replace use of boost/iterator/detail/enable_if.hpp
2 parents 4fc3afa + 2dc5a92 commit 7b19604

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/python/object_operators.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# include <boost/python/object_core.hpp>
1111
# include <boost/python/call.hpp>
12-
# include <boost/iterator/detail/enable_if.hpp>
12+
# include <boost/type_traits/enable_if.hpp>
1313
# include <boost/mpl/bool.hpp>
1414

1515
# include <boost/iterator/detail/config_def.hpp>
@@ -40,7 +40,7 @@ struct is_object_operators
4040
# if !defined(BOOST_NO_SFINAE) && !defined(BOOST_NO_IS_CONVERTIBLE)
4141
template <class L, class R, class T>
4242
struct enable_binary
43-
: boost::iterators::enable_if<is_object_operators<L,R>, T>
43+
: boost::enable_if_<is_object_operators<L,R>::value, T>
4444
{};
4545
# define BOOST_PYTHON_BINARY_RETURN(T) typename enable_binary<L,R,T>::type
4646
# else

0 commit comments

Comments
 (0)