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