diff --git a/BAN/include/BAN/Iterators.h b/BAN/include/BAN/Iterators.h index fe014e16..5c01d549 100644 --- a/BAN/include/BAN/Iterators.h +++ b/BAN/include/BAN/Iterators.h @@ -59,7 +59,8 @@ namespace BAN IteratorSimpleGeneral& operator--() { ASSERT(m_pointer); - return --m_pointer; + --m_pointer; + return *this; } IteratorSimpleGeneral operator--(int) {