mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-21 16:42:09 +02:00
added missing const qualifier
[SVN r9148]
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user