mirror of https://github.com/KLayout/klayout.git
Fixed an uninitialized memory issue (thanks, Stefan!)
This commit is contained in:
parent
02819c5f1e
commit
986cb7f0c2
|
|
@ -45,6 +45,7 @@ Bitmap::Bitmap (unsigned int w, unsigned int h, double r)
|
||||||
Bitmap::Bitmap (const Bitmap &d)
|
Bitmap::Bitmap (const Bitmap &d)
|
||||||
: m_empty_scanline (0)
|
: m_empty_scanline (0)
|
||||||
{
|
{
|
||||||
|
init (d.m_width, d.m_height);
|
||||||
operator= (d);
|
operator= (d);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue