diff --git a/src/db/db/dbCellMapping.cc b/src/db/db/dbCellMapping.cc index 8888a9ebf..66490629d 100644 --- a/src/db/db/dbCellMapping.cc +++ b/src/db/db/dbCellMapping.cc @@ -72,13 +72,25 @@ struct SortedCellIndexIterator SortedCellIndexIterator &operator++() { ++m_n; - return *this; + return *this; } SortedCellIndexIterator &operator+=(size_t n) { m_n += n; - return *this; + return *this; + } + + SortedCellIndexIterator &operator--() + { + --m_n; + return *this; + } + + SortedCellIndexIterator &operator-=(size_t n) + { + m_n -= n; + return *this; } bool operator==(const SortedCellIndexIterator &d) const