diff --git a/include/boost/iterator/iterator_adaptors.hpp b/include/boost/iterator/iterator_adaptors.hpp index 79d95b1..50e3091 100644 --- a/include/boost/iterator/iterator_adaptors.hpp +++ b/include/boost/iterator/iterator_adaptors.hpp @@ -41,7 +41,7 @@ inline bool operator==(const iterator_comparisons& xb, template inline bool operator!=(const iterator_comparisons& xb, - const iterator_comparisons& yb) + const iterator_comparisons& yb) { return !xb.downcast().equal(yb.downcast()); } @@ -175,10 +175,6 @@ struct reverse_iterator : m_base(y.m_base) { } - struct state : default_iterator_policies - { - }; - typename super::reference dereference() const { return *boost::prior(m_base); } void increment() { --m_base; }