Skip to content

Commit

Permalink
Merge pull request #470 from boostorg/pr/fix-iterator-detail
Browse files Browse the repository at this point in the history
Replace use of boost/iterator/detail/enable_if.hpp
  • Loading branch information
pdimov authored Feb 1, 2025
2 parents 4fc3afa + 2dc5a92 commit 7b19604
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/boost/python/object_operators.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# include <boost/python/object_core.hpp>
# include <boost/python/call.hpp>
# include <boost/iterator/detail/enable_if.hpp>
# include <boost/type_traits/enable_if.hpp>
# include <boost/mpl/bool.hpp>

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

0 comments on commit 7b19604

Please sign in to comment.