added missing const qualifier

[SVN r9148]
This commit is contained in:
Dave Abrahams
2001-02-12 04:45:02 +00:00
parent 2c2a3eab21
commit 5482763a93

View File

@ -577,7 +577,7 @@ struct iterator_adaptor :
// Moved from global scope to avoid ambiguity with the operator-() which // Moved from global scope to avoid ambiguity with the operator-() which
// subtracts iterators from one another. // subtracts iterators from one another.
self operator-(Distance x) self operator-(Distance x) const
{ self result(*this); return result -= x; } { self result(*this); return result -= x; }
private: private:
typedef Policies policies_type; typedef Policies policies_type;