iterator: avoid ignored const on reference
This commit is contained in:
parent
ad53b9f2de
commit
b58fdaea9d
|
@ -59,7 +59,7 @@ class referencing_iterator {
|
||||||
bool operator> (const referencing_iterator<Base> &rhs) { return m_base > rhs.m_base; }
|
bool operator> (const referencing_iterator<Base> &rhs) { return m_base > rhs.m_base; }
|
||||||
bool operator< (const referencing_iterator<Base> &rhs) { return m_base < rhs.m_base; }
|
bool operator< (const referencing_iterator<Base> &rhs) { return m_base < rhs.m_base; }
|
||||||
|
|
||||||
const reference operator*() const
|
const value_type& operator*() const
|
||||||
{ return **m_base; }
|
{ return **m_base; }
|
||||||
reference operator*()
|
reference operator*()
|
||||||
{ return **m_base; }
|
{ return **m_base; }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user