update boost on linux
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
#define BOOST_GEOMETRY_ITERATORS_CLOSING_ITERATOR_HPP
|
||||
|
||||
#include <boost/range.hpp>
|
||||
#include <boost/iterator.hpp>
|
||||
#include <boost/iterator/iterator_facade.hpp>
|
||||
#include <boost/iterator/iterator_categories.hpp>
|
||||
|
||||
@@ -39,10 +38,24 @@ struct closing_iterator
|
||||
<
|
||||
closing_iterator<Range>,
|
||||
typename boost::range_value<Range>::type const,
|
||||
boost::random_access_traversal_tag
|
||||
boost::random_access_traversal_tag,
|
||||
typename boost::range_reference<Range const>::type,
|
||||
typename boost::range_difference<Range>::type
|
||||
>
|
||||
{
|
||||
typedef typename boost::range_difference<Range>::type difference_type;
|
||||
private:
|
||||
typedef boost::iterator_facade
|
||||
<
|
||||
closing_iterator<Range>,
|
||||
typename boost::range_value<Range>::type const,
|
||||
boost::random_access_traversal_tag,
|
||||
typename boost::range_reference<Range const>::type,
|
||||
typename boost::range_difference<Range>::type
|
||||
> base_type;
|
||||
|
||||
public:
|
||||
typedef typename base_type::reference reference;
|
||||
typedef typename base_type::difference_type difference_type;
|
||||
|
||||
/// Constructor including the range it is based on
|
||||
explicit inline closing_iterator(Range& range)
|
||||
@@ -72,7 +85,7 @@ struct closing_iterator
|
||||
private:
|
||||
friend class boost::iterator_core_access;
|
||||
|
||||
inline typename boost::range_value<Range>::type const& dereference() const
|
||||
inline reference dereference() const
|
||||
{
|
||||
return *m_iterator;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user