mirror of https://github.com/KLayout/klayout.git
Provide operator-- on SortedCellIndexIterator to fix #220
This commit is contained in:
parent
d2d28bc613
commit
14cb9090ec
|
|
@ -81,6 +81,18 @@ struct SortedCellIndexIterator
|
|||
return *this;
|
||||
}
|
||||
|
||||
SortedCellIndexIterator &operator--()
|
||||
{
|
||||
--m_n;
|
||||
return *this;
|
||||
}
|
||||
|
||||
SortedCellIndexIterator &operator-=(size_t n)
|
||||
{
|
||||
m_n -= n;
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool operator==(const SortedCellIndexIterator &d) const
|
||||
{
|
||||
return m_n == d.m_n;
|
||||
|
|
|
|||
Loading…
Reference in New Issue