mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-21 08:32:08 +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
|
||||
// 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;
|
||||
|
Reference in New Issue
Block a user