blob: 250290f34901099d5bc66b91969a88ca7766fd14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
Source: https://github.com/klayoutmatthias/klayout/issues/127
diff -ruN klayout-0.25.6.orig/src/db/db/dbCellMapping.cc klayout-0.25.6/src/db/db/dbCellMapping.cc
--- klayout-0.25.6.orig/src/db/db/dbCellMapping.cc 2018-11-26 18:53:43.000000000 +0100
+++ klayout-0.25.6/src/db/db/dbCellMapping.cc 2018-12-12 20:05:11.210171097 +0100
@@ -75,6 +75,12 @@
return *this;
}
+ SortedCellIndexIterator &operator--()
+ {
+ --m_n;
+ return *this;
+ }
+
SortedCellIndexIterator &operator+=(size_t n)
{
m_n += n;
|