BAN: Fix simple iterator operator--()

This commit is contained in:
Bananymous 2023-12-07 11:14:15 +02:00
parent 43458cc74f
commit 59ad639fa8
1 changed files with 2 additions and 1 deletions

View File

@ -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)
{ {