diff --git a/include/boost/iterator_adaptors.hpp b/include/boost/iterator_adaptors.hpp index 38eca67..22c7ade 100644 --- a/include/boost/iterator_adaptors.hpp +++ b/include/boost/iterator_adaptors.hpp @@ -577,7 +577,7 @@ struct iterator_adaptor : // Moved from global scope to avoid ambiguity with the operator-() which // subtracts iterators from one another. - self operator-(Distance x) + self operator-(Distance x) const { self result(*this); return result -= x; } private: typedef Policies policies_type;