Commit f74932df authored by Tiago Peixoto's avatar Tiago Peixoto

Fix compilation error in clang

parent 9d0006a4
Pipeline #100 failed with stage
...@@ -195,7 +195,8 @@ public: ...@@ -195,7 +195,8 @@ public:
friend class boost::iterator_core_access; friend class boost::iterator_core_access;
void increment() { ++_iter; } void increment() { ++_iter; }
void decrement() { --_iter; } void decrement() { --_iter; }
void advance(auto n) { _iter += n; } template <class Distance>
void advance(Distance n) { _iter += n; }
auto distance_to(base_edge_iterator const& other) const auto distance_to(base_edge_iterator const& other) const
{ {
return other._iter - _iter; return other._iter - _iter;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment