mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-22 17:07:16 +02:00
operator[] needed to be const
[SVN r8463]
This commit is contained in:
@ -199,7 +199,7 @@ public:
|
||||
# pragma warning(pop)
|
||||
#endif
|
||||
|
||||
reference operator[](difference_type n)
|
||||
reference operator[](difference_type n) const
|
||||
{ return *(*this + n); }
|
||||
|
||||
Self& operator++() {
|
||||
|
Reference in New Issue
Block a user