From 5482763a93a877adb6899d4323fdee1f90efbfa0 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Mon, 12 Feb 2001 04:45:02 +0000 Subject: [PATCH] added missing const qualifier [SVN r9148] --- include/boost/iterator_adaptors.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;