Skip to content

Commit

Permalink
Fix gcc 4.6 build.
Browse files Browse the repository at this point in the history
  • Loading branch information
gogagum authored and Georgiy Guminov committed Oct 10, 2024
1 parent e4cc900 commit 165440d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/boost/iterator/iterator_facade.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -960,8 +960,8 @@ namespace iterators {
BOOST_ITERATOR_FACADE_INTEROP_RANDOM_ACCESS_HEAD(inline, op, result_type) \
{ \
using boost::iterators::detail::is_traversal_at_least; \
using Derived1IterCat = typename iterator_category<Derived1>::type; \
using Derived2IterCat = typename iterator_category<Derived2>::type; \
typedef typename iterator_category<Derived1>::type Derived1IterCat; \
typedef typename iterator_category<Derived2>::type Derived2IterCat; \
/* For those compilers that do not support enable_if */ \
static_assert( \
is_interoperable<Derived1, Derived2>::value && \
Expand Down

0 comments on commit 165440d

Please sign in to comment.