BAN: Fix simple iterator operator--()
This commit is contained in:
parent
43458cc74f
commit
59ad639fa8
|
@ -59,7 +59,8 @@ namespace BAN
|
||||||
IteratorSimpleGeneral& operator--()
|
IteratorSimpleGeneral& operator--()
|
||||||
{
|
{
|
||||||
ASSERT(m_pointer);
|
ASSERT(m_pointer);
|
||||||
return --m_pointer;
|
--m_pointer;
|
||||||
|
return *this;
|
||||||
}
|
}
|
||||||
IteratorSimpleGeneral operator--(int)
|
IteratorSimpleGeneral operator--(int)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue