mirror of https://github.com/KLayout/klayout.git
Fixed an initialization issue.
This commit is contained in:
parent
009492a2a6
commit
de6045fdf0
|
|
@ -507,6 +507,7 @@ public:
|
||||||
*/
|
*/
|
||||||
template <class Sh>
|
template <class Sh>
|
||||||
Region (const Sh &s)
|
Region (const Sh &s)
|
||||||
|
: mp_delegate (0)
|
||||||
{
|
{
|
||||||
insert (s);
|
insert (s);
|
||||||
}
|
}
|
||||||
|
|
@ -520,6 +521,7 @@ public:
|
||||||
*/
|
*/
|
||||||
template <class Iter>
|
template <class Iter>
|
||||||
Region (const Iter &b, const Iter &e)
|
Region (const Iter &b, const Iter &e)
|
||||||
|
: mp_delegate (0)
|
||||||
{
|
{
|
||||||
reserve (e - b);
|
reserve (e - b);
|
||||||
for (Iter i = b; i != e; ++i) {
|
for (Iter i = b; i != e; ++i) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue